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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js

Issue 2250473002: DevTools: Repick execution context when frames are loaded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
index 86b44cd03d6fefee530ef125c3e41e63553f0041..aaff8f89093de42e60ac039799df83e2d2e9a7f1 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
@@ -54,7 +54,8 @@ WebInspector.RuntimeModel = function(target)
WebInspector.RuntimeModel.Events = {
ExecutionContextCreated: "ExecutionContextCreated",
ExecutionContextDestroyed: "ExecutionContextDestroyed",
- ExecutionContextChanged: "ExecutionContextChanged"
+ ExecutionContextChanged: "ExecutionContextChanged",
+ ResortExecutionContexts: "ResortExecutionContexts"
}
WebInspector.RuntimeModel._privateScript = "private script";
@@ -133,6 +134,11 @@ WebInspector.RuntimeModel.prototype = {
this.dispatchEventToListeners(WebInspector.RuntimeModel.Events.ExecutionContextDestroyed, executionContext);
},
+ resortExecutionContexts: function()
pfeldman 2016/08/16 16:28:28 fireExecutionContextOrderChanged
einbinder 2016/08/16 17:36:09 Done.
+ {
+ this.dispatchEventToListeners(WebInspector.RuntimeModel.Events.ResortExecutionContexts, this);
+ },
+
_executionContextsCleared: function()
{
var debuggerModel = WebInspector.DebuggerModel.fromTarget(this.target());

Powered by Google App Engine
This is Rietveld 408576698