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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-network-initiator-image.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/sources/debugger/async-callstack-network-initiator-image.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-network-initiator-image.html b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-network-initiator-image.html
index c48c49ec9cf426fd429091d2417436dfbbe640f2..aa9124871dd6061f8ca77e825d0bd1de9d8c5796 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-network-initiator-image.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-network-initiator-image.html
@@ -14,9 +14,9 @@ function testFunction()
function test()
{
- WebInspector.settingForTest("enableAsyncStackTraces").set(true);
+ Common.settingForTest("enableAsyncStackTraces").set(true);
InspectorTest.evaluateInPage("testFunction()");
- InspectorTest.networkManager.addEventListener(WebInspector.NetworkManager.Events.RequestFinished, requestFinished);
+ InspectorTest.networkManager.addEventListener(SDK.NetworkManager.Events.RequestFinished, requestFinished);
function requestFinished(event)
{
@@ -24,9 +24,9 @@ function test()
return;
var initiatorInfo = event.data.initiatorInfo();
- var element = new WebInspector.Linkifier().linkifyScriptLocation(InspectorTest.mainTarget, initiatorInfo.scriptId, initiatorInfo.url, initiatorInfo.lineNumber - 1, initiatorInfo.columnNumber - 1);
+ var element = new Components.Linkifier().linkifyScriptLocation(InspectorTest.mainTarget, initiatorInfo.scriptId, initiatorInfo.url, initiatorInfo.lineNumber - 1, initiatorInfo.columnNumber - 1);
InspectorTest.addResult(element.textContent);
- WebInspector.settingForTest("enableAsyncStackTraces").set(false);
+ Common.settingForTest("enableAsyncStackTraces").set(false);
InspectorTest.completeTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698