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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698