Index: third_party/WebKit/Source/devtools/front_end/main/Main.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
index 8c8748bfb858a998fbaaa0c822000a21fe0a9695..6115108a3228b4918147ac0112ac28beba51e013 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js |
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js |
@@ -325,7 +325,8 @@ WebInspector.Main.prototype = { |
if (this._mainTarget.isServiceWorker() || this._mainTarget.isPage() || this._mainTarget.isJSInspector()) |
this._mainTarget.runtimeAgent().run(); |
- this._mainTarget.inspectorAgent().enable(); |
+ if (!this._mainTarget.isJSInspector()) |
pfeldman
2016/07/07 18:00:49
Lets steer it closer to capabilities. I.e. the che
|
+ this._mainTarget.inspectorAgent().enable(); |
InspectorFrontendHost.readyForTest(); |
// Asynchronously run the extensions. |