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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.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-in-files.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
index 89361afba3fc82a4f45a3e93a5b7fb971f4c503e..a36501e07bfc5a3a536d5da37197b61787c6256f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
@@ -41,7 +41,7 @@ function test()
function populateFileSystem(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) {
fs.root.addFile(name, text);

Powered by Google App Engine
This is Rietveld 408576698