Index: LayoutTests/dart/inspector/scope-variables.html |
diff --git a/LayoutTests/dart/inspector/scope-variables.html b/LayoutTests/dart/inspector/scope-variables.html |
index 23023a49e067eeec383ee6900c342768d57ac8ac..53fa6ac646e12d4dd36c6f5ab405fc89ef0711c5 100644 |
--- a/LayoutTests/dart/inspector/scope-variables.html |
+++ b/LayoutTests/dart/inspector/scope-variables.html |
@@ -10,6 +10,7 @@ if (window.navigator.webkitStartDart) |
</script> |
<script> |
+ |
function postMessageToDart() |
{ |
window.postMessage('fromJS', '*'); |
@@ -74,12 +75,13 @@ function test() |
var section = sections[i]; |
var properties = section.propertiesForTest; |
var contents = InspectorTest.textContentWithLineBreaks(section.element); |
- InspectorTest.addResult(contents); |
+ InspectorTest.addResult(contents.replace(/\(file:\/\/[^)]*\)/g, "(SOURCE_LOCATION)")); |
} |
} |
}; |
</script> |
<body onload="runTest()"> |
+ <div id="example_div">Example div</div> |
</body> |
</html> |