Chromium Code Reviews| 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()); |