Index: third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html |
index 1ef555ab2649ddacc30197278e98c2a3b1c10348..d94a79fbe2917c3d4a6a08805236aa74e0c00348 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html |
@@ -31,7 +31,7 @@ function test() |
{ |
InspectorTest.WorkerAgent.disable(); |
// Debugger should not crash when autoconnecting is immediately followed by termination. |
- InspectorTest.WorkerAgent.setAutoconnectToWorkers(true, didDisableWorkerInspection); |
+ InspectorTest.WorkerAgent.setWaitForDebuggerOnStart(true, didDisableWorkerInspection); |
function didDisableWorkerInspection() |
{ |