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

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

Issue 1523193002: DevTools: merge UISourceCode's parentPath, name, originURL and uri. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 5 years 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 d122d517dd62d689b0a0e591edb0ae4e48a56456..eed31ff27eb0e656f6ee76d49450d1a9d39fde02 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() !== "MyScript.js")
+ if (event.data.originURL().indexOf("MyScript.js") === -1)
return;
- InspectorTest.addResult("Added: " + event.data.originURL() + " to " + event.data.project().type());
+ InspectorTest.addResult("Added: " + event.data.originURL().replace(/VM[\d]+/, "VMXX") + " to " + event.data.project().type());
if (event.data.project().type() !== "network")
return;
event.data.requestContent(function(it, content) {

Powered by Google App Engine
This is Rietveld 408576698