| Index: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| index 00cda464d4875f49db043499a0c886d4599a2250..49c41b19aae5fbd6e4227199cf5e320606d5c56c 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html
|
| @@ -9,7 +9,7 @@ function test()
|
| var scriptURL = "http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-empty.js";
|
| var scope = "http://127.0.0.1:8000/inspector/service-workers/resources/scope1/";
|
|
|
| - InspectorTest.addSniffer(WebInspector.MainConnection.prototype, "sendMessage", function(messageString) {
|
| + InspectorTest.addSniffer(SDK.MainConnection.prototype, "sendMessage", function(messageString) {
|
| var message = JSON.parse(messageString);
|
| if (!messageString.includes("Target.sendMessageToTarget"))
|
| return;
|
| @@ -28,9 +28,9 @@ function test()
|
| function step1(target)
|
| {
|
| InspectorTest.addResult("Suspending targets.");
|
| - WebInspector.targetManager.suspendAllTargets();
|
| + SDK.targetManager.suspendAllTargets();
|
| InspectorTest.addResult("Resuming targets.");
|
| - WebInspector.targetManager.resumeAllTargets();
|
| + SDK.targetManager.resumeAllTargets();
|
| InspectorTest.completeTest();
|
| }
|
|
|
|
|