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

Unified Diff: LayoutTests/inspector/load-file-resource-for-frontend.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months 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: LayoutTests/inspector/load-file-resource-for-frontend.html
diff --git a/LayoutTests/inspector/load-file-resource-for-frontend.html b/LayoutTests/inspector/load-file-resource-for-frontend.html
index 485fa9c7985943695880a108a40c28ab445345c1..9c2f080c88980fe05e002aa4b7cb1c5e6195ecf6 100644
--- a/LayoutTests/inspector/load-file-resource-for-frontend.html
+++ b/LayoutTests/inspector/load-file-resource-for-frontend.html
@@ -6,12 +6,12 @@ function test()
{
function testLoadForURL(url, next)
{
- var documentURL = WebInspector.resourceTreeModel.mainFrame.url;
+ var documentURL = InspectorTest.resourceTreeModel.mainFrame.url;
var lastIndexOfSlash = documentURL.lastIndexOf("/");
var urlPrefix = documentURL.substr(0, lastIndexOfSlash + 1);
var fullURL = urlPrefix + url;
InspectorTest.addResult("Loading resource from " + url);
- InspectorTest.NetworkAgent.loadResourceForFrontend(WebInspector.resourceTreeModel.mainFrame.id, fullURL, undefined, callback);
+ InspectorTest.NetworkAgent.loadResourceForFrontend(InspectorTest.resourceTreeModel.mainFrame.id, fullURL, undefined, callback);
function callback(error, statusCode, headers, content)
{
« no previous file with comments | « LayoutTests/inspector/initial-modules-load.html ('k') | LayoutTests/inspector/network/network-status-non-http.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698