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) { |