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

Unified Diff: third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html

Issue 2186753002: [DevTools] Track URL through the target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 years, 5 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: third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html
diff --git a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html
index 2d9f8c53ced9986615a0eb7f9407bb582ee2e305..0eb9f407d83c65e8cf39c5a5f2b228162e7cca77 100644
--- a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html
+++ b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-events.html
@@ -67,7 +67,7 @@ function extension_testOnNavigated(nextTest)
if (loadCount !== urls.length)
return;
if (loadCount === 1)
- evaluateOnFrontend("InspectorTest.navigate(InspectorTest.resourceTreeModel.inspectedPageURL().substring(0, InspectorTest.resourceTreeModel.inspectedPageURL().indexOf('?')), reply)", onLoad);
+ evaluateOnFrontend("InspectorTest.navigate(InspectorTest.mainTarget.inspectedURL().substring(0, InspectorTest.mainTarget.inspectedURL().indexOf('?')), reply)", onLoad);
else {
webInspector.network.onNavigated.removeListener(onNavigated);
for (var i = 0; i < urls.length; ++i)
@@ -81,7 +81,7 @@ function extension_testOnNavigated(nextTest)
processEvent();
}
webInspector.network.onNavigated.addListener(onNavigated);
- evaluateOnFrontend("InspectorTest.navigate(InspectorTest.resourceTreeModel.inspectedPageURL() + '?navigated', reply)", onLoad);
+ evaluateOnFrontend("InspectorTest.navigate(InspectorTest.mainTarget.inspectedURL() + '?navigated', reply)", onLoad);
}
function extension_testViewShowHide(nextTest)

Powered by Google App Engine
This is Rietveld 408576698