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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-initiator-from-console.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/network/network-initiator-from-console.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html
index c9a5cd693cbbac7ceeef8b0ff845584702d0bbab..6083f33ad5a35a74336dd1e12b23460fa9f94fc9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html
@@ -9,12 +9,12 @@ var test = function()
function step1()
{
- InspectorTest.networkManager.addEventListener(WebInspector.NetworkManager.Events.RequestStarted, onRequest);
+ InspectorTest.networkManager.addEventListener(SDK.NetworkManager.Events.RequestStarted, onRequest);
var str = "";
str += "var s = document.createElement(\"script\");";
str += "s.src = \"resources/silent_script.js\";";
str += "document.head.appendChild(s);";
- WebInspector.context.flavor(WebInspector.ExecutionContext).evaluate(str, "console", true, undefined, undefined, undefined, undefined, function(){});
+ UI.context.flavor(SDK.ExecutionContext).evaluate(str, "console", true, undefined, undefined, undefined, undefined, function(){});
}
function onRequest(event)

Powered by Google App Engine
This is Rietveld 408576698