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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.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/sources/debugger-ui/watch-expressions-panel-switch.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
index 76c041fbf9c01db26e76288a4e41a8c9c6bb18e2..7dc82c5b4d77f5642e6957d7ca6c45eed67be459 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
@@ -28,7 +28,7 @@ var test = function()
watchExpressionsPane.addExpression("window.document");
watchExpressionsPane.addExpression("windowa.document");
- var testName = InspectorTest.resourceTreeModel.inspectedPageURL();
+ var testName = InspectorTest.mainTarget.inspectedURL();
testName = testName.substring(testName.lastIndexOf('/') + 1);
InspectorTest.showScriptSource(testName, didShowScriptSource);
}

Powered by Google App Engine
This is Rietveld 408576698