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

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

Issue 1355423003: Devtools: initialize protocol enums synchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed WebInspector._connectionForTests Created 5 years, 3 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 | « LayoutTests/inspector/report-API-errors.html ('k') | Source/devtools/front_end/main/TestController.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index e57a259c221b24f48ad2213e62e5e560b9cb876a..4b50e4c7aeae92667438352938a1d24646e4a705 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -311,7 +311,6 @@ WebInspector.Main.prototype = {
new WebInspector.RemoteDebuggingTerminatedScreen(event.data.reason).showModal();
}
- InspectorBackend.setConnection(connection);
var targetType = Runtime.queryParam("isSharedWorker") ? WebInspector.Target.Type.ServiceWorker : WebInspector.Target.Type.Page;
WebInspector.targetManager.createTarget(WebInspector.UIString("Main"), targetType, connection, null, this._mainTargetCreated.bind(this));
},
« no previous file with comments | « LayoutTests/inspector/report-API-errors.html ('k') | Source/devtools/front_end/main/TestController.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698