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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.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/http/tests/inspector/search/sources-search-scope-many-projects.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
index d3c6e94055f892c0f39f7664ee358eb510783470..b981225554808c1d5aa57997b85582d3201a4673 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html
@@ -56,7 +56,7 @@ function test()
function loadResource(name)
{
- var urlPrefix = InspectorTest.resourceTreeModel.inspectedPageURL().substr(0, InspectorTest.resourceTreeModel.inspectedPageURL().lastIndexOf("/") + 1);
+ var urlPrefix = InspectorTest.mainTarget.inspectedURL().substr(0, InspectorTest.mainTarget.inspectedURL().lastIndexOf("/") + 1);
var url = urlPrefix + "resources/" + name;
return loadResourcePromise(url).then(function(text) {
resources[name] = text;

Powered by Google App Engine
This is Rietveld 408576698