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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 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/scripts-with-same-source-url.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
index eed31ff27eb0e656f6ee76d49450d1a9d39fde02..92ad07e7d4e838efae76ccb69a175f1c9cdb8041 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-with-same-source-url.html
@@ -20,9 +20,9 @@ function test()
function reportAdded(event)
{
- if (event.data.originURL().indexOf("MyScript.js") === -1)
+ if (event.data.url().indexOf("MyScript.js") === -1)
return;
- InspectorTest.addResult("Added: " + event.data.originURL().replace(/VM[\d]+/, "VMXX") + " to " + event.data.project().type());
+ InspectorTest.addResult("Added: " + event.data.url().replace(/VM[\d]+/, "VMXX") + " to " + event.data.project().type());
if (event.data.project().type() !== "network")
return;
event.data.requestContent(function(it, content) {
@@ -34,9 +34,9 @@ function test()
function reportRemoved(event)
{
- if (event.data.originURL() !== "MyScript.js")
+ if (event.data.url() !== "MyScript.js")
return;
- InspectorTest.addResult("Removed: " + event.data.originURL() + " from " + event.data.project().type());
+ InspectorTest.addResult("Removed: " + event.data.url() + " from " + event.data.project().type());
}
}

Powered by Google App Engine
This is Rietveld 408576698