Skip to content

Commit

Permalink
[DevTools] Move Console to v8 inspector.
Browse files Browse the repository at this point in the history
This patch moves Console domain, console message, storage and console agent to v8 inspector.

Possible follow-ups:
- removing ConsoleMessage from blink;
- migrating from V8StackTrace to V8SourceLocation;
- removing FrameConsole abstraction;
- exposing single entry method for adding message with parameters.

BUG=613882
[email protected] (for includes)

Review-Url: https://codereview.chromium.org/2035653006
Cr-Commit-Position: refs/heads/master@{#403006}
  • Loading branch information
dgozman authored and Commit bot committed Jun 30, 2016
1 parent 68fbc73 commit 6e4adf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front_end/console/ConsoleView.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ WebInspector.ConsoleView.prototype = {
*/
_onMainFrameNavigated: function(event)
{
if (!WebInspector.moduleSetting("preserveConsoleLog").get())
return;
var frame = /** @type {!WebInspector.ResourceTreeFrame} */(event.data);
WebInspector.console.log(WebInspector.UIString("Navigated to %s", frame.url));
},
Expand Down

0 comments on commit 6e4adf6

Please sign in to comment.