| Index: third_party/WebKit/Source/devtools/front_end/Tests.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| index ad125f1e87f3f5ffb06d90bd394f3db01ab199be..47e1c41209f8d1f2ddc7fa8b1ddcd81da7e6267b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
|
| @@ -608,7 +608,7 @@ TestSuite.prototype.testPauseInSharedWorkerInitialization1 = function()
|
|
|
| function callback()
|
| {
|
| - var target = WebInspector.targetManager.targetsWithJSContext()[0];
|
| + var target = WebInspector.targetManager.targets(WebInspector.Target.Capability.JS)[0];
|
| target._connection.deprecatedRunAfterPendingDispatches(this.releaseControl.bind(this));
|
| }
|
| };
|
| @@ -620,7 +620,7 @@ TestSuite.prototype.testPauseInSharedWorkerInitialization2 = function()
|
|
|
| function callback()
|
| {
|
| - var target = WebInspector.targetManager.targetsWithJSContext()[0];
|
| + var target = WebInspector.targetManager.targets(WebInspector.Target.Capability.JS)[0];
|
| var debuggerModel = WebInspector.DebuggerModel.fromTarget(target);
|
| if (debuggerModel.isPaused()) {
|
| this.releaseControl();
|
|
|