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 aa2042a304c877ba46ae61edfa01441cf45bb860..910056b6f5a53b6b6454c1686ed4d1799ad29f01 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 = { |
this._mainTarget.runtimeAgent().run(); |
- this._mainTarget.inspectorAgent().enable(); |
+ if (this._mainTarget.hasBrowserCapability()) |
+ this._mainTarget.inspectorAgent().enable(); |
InspectorFrontendHost.readyForTest(); |
// Asynchronously run the extensions. |