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

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

Issue 426553003: [DevTools] Run tests only after all UI bits are initialized. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: renamed to InspectorUILoadedForTests Created 6 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 | « Source/devtools/front_end/common/WebInspector.js ('k') | no next file » | 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 0a38ab266dcdba92d46e6d2e2313a4925f700a4b..f60fc4e60eae2d557906eb07a1d05eb793d9baa2 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -374,6 +374,7 @@ WebInspector.Main.prototype = {
console.timeStamp("Main.inspectorAgentEnableCallback");
WebInspector.app.presentUI(mainTarget);
console.timeStamp("Main.inspectorAgentEnableCallbackPresentUI");
+ WebInspector.notifications.dispatchEventToListeners(WebInspector.NotificationService.Events.InspectorUILoadedForTests);
}
WebInspector.actionRegistry = new WebInspector.ActionRegistry();
@@ -384,7 +385,6 @@ WebInspector.Main.prototype = {
this._loadCompletedForWorkers();
InspectorFrontendAPI.loadCompleted();
- WebInspector.notifications.dispatchEventToListeners(WebInspector.NotificationService.Events.InspectorLoaded);
},
_registerForwardedShortcuts: function()
« no previous file with comments | « Source/devtools/front_end/common/WebInspector.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698