Index: LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html |
diff --git a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html |
index ecaf2f5441fd2238999eac16b664c27db8c1fb20..4230681d1cea63cd3983641fbd0b8f4aa8a7208c 100644 |
--- a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html |
+++ b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html |
@@ -4,6 +4,7 @@ |
<script src="../../inspector/inspector-test.js"></script> |
<script src="../../inspector/resources-test.js"></script> |
<script src="../../inspector/network-test.js"></script> |
+<script src="../../inspector/debugger-test.js"></script> |
<script> |
function onload() |
{ |
@@ -177,6 +178,19 @@ function test() |
runSearchAndDumpResults(searchConfig, next); |
} |
}, |
+ |
+ function testDirtyFiles(next) |
+ { |
+ InspectorTest.showScriptSource("search.js", step2); |
+ |
+ function step2(sourceFrame) |
+ { |
+ sourceFrame.uiSourceCode().setWorkingCopy("FOO " + "searchTest" + "UniqueString" + " BAR"); |
+ var query = "searchTest" + "UniqueString"; |
+ var searchConfig = new WebInspector.SearchConfig(query, true, false); |
+ runSearchAndDumpResults(searchConfig, next); |
+ } |
+ } |
]); |
} |
} |