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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.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/request-name-path.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
index cf35a3026fc9d69ebcfefb1db02110f2eedbfd99..c4ae8ed91486ac049b0ddfa071d091e745991f21 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/request-name-path.html
@@ -10,12 +10,12 @@ function test()
*/
function createNetworkRequestForURLAndDumpNameAndPath(url, targetUrl)
{
- var mainTarget = WebInspector.targetManager.mainTarget();
+ var mainTarget = SDK.targetManager.mainTarget();
var currentTargetURL = mainTarget.inspectedURL();
if (targetUrl)
mainTarget.setInspectedURL(targetUrl);
InspectorTest.addResult("Dumping request name and path for url: " + url);
- var request = new WebInspector.NetworkRequest(mainTarget, 0, url);
+ var request = new SDK.NetworkRequest(mainTarget, 0, url);
InspectorTest.addResult(" name = " + request.name());
InspectorTest.addResult(" path = " + request.path());
InspectorTest.addResult(" targetUrl = " + (targetUrl ? targetUrl : currentTargetURL));
@@ -24,7 +24,7 @@ function test()
}
// Save the target URL to ensure test works well with other tests.
- var mainTarget = WebInspector.targetManager.mainTarget();
+ var mainTarget = SDK.targetManager.mainTarget();
var originalTargetURL = mainTarget.inspectedURL();
mainTarget.setInspectedURL("http://127.0.0.1/aFolder/aTest.html");

Powered by Google App Engine
This is Rietveld 408576698