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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.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/inspector/profiler/agents-disabled-check.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.html b/third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.html
index a9c4dcbdbdc00a69698b6c8940f2aa41722d7e8d..37c528a2f15ee4d54904bebc0a3fe468b0eba2e1 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/agents-disabled-check.html
@@ -5,7 +5,7 @@
function test()
{
- WebInspector.settingForTest("enableAsyncStackTraces").set(true);
+ Common.settingForTest("enableAsyncStackTraces").set(true);
var messages = [];
function collectMessages(message)
{
@@ -13,11 +13,11 @@ function test()
}
Protocol.TargetBase.prototype._dumpProtocolMessage = collectMessages;
InspectorBackendClass.Options.dumpInspectorProtocolMessages = 1;
- messages.push("--> WebInspector.targetManager.suspendAllTargets();");
- WebInspector.targetManager.suspendAllTargets();
+ messages.push("--> SDK.targetManager.suspendAllTargets();");
+ SDK.targetManager.suspendAllTargets();
messages.push("");
- messages.push("--> WebInspector.targetManager.resumeAllTargets();");
- WebInspector.targetManager.resumeAllTargets();
+ messages.push("--> SDK.targetManager.resumeAllTargets();");
+ SDK.targetManager.resumeAllTargets();
messages.push("");
messages.push("--> done");
InspectorBackendClass.Options.dumpInspectorProtocolMessages = 0;
@@ -26,7 +26,7 @@ function test()
message = message.replace(/"id":\d+,/, '"id":<number>,');
InspectorTest.addResult(message);
}
- WebInspector.settingForTest("enableAsyncStackTraces").set(false);
+ Common.settingForTest("enableAsyncStackTraces").set(false);
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698