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) |
{ |