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

Unified Diff: LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html

Issue 400673002: DevTools: Fix dirty files handling in search across all files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+ }
+ }
]);
}
}
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698