Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2122113004: [DevTools] Support for the inspector target type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/OverlayController.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/OverlayController.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698