Commit 12cf57ce authored by davemoore's avatar davemoore Committed by Commit bot

HTMLViewer: Log JS messages to console

BUG=

Review URL: https://codereview.chromium.org/1005413002

Cr-Commit-Position: refs/heads/master@{#320786}
parent 143bfac3
...@@ -276,6 +276,8 @@ void HTMLDocument::didAddMessageToConsole( ...@@ -276,6 +276,8 @@ void HTMLDocument::didAddMessageToConsole(
const blink::WebString& source_name, const blink::WebString& source_name,
unsigned source_line, unsigned source_line,
const blink::WebString& stack_trace) { const blink::WebString& stack_trace) {
VLOG(1) << "[" << source_name.utf8() << "(" << source_line << ")] "
<< message.text.utf8();
} }
void HTMLDocument::didNavigateWithinPage( void HTMLDocument::didNavigateWithinPage(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment