<html>
<head>
-<title>Change inspected iframe's "src" attribute.</title>
+<title>Test search in sources.</title>
<script src="../inspector-test.js"></script>
<script src="../isolated-filesystem-test.js"></script>
<script src="../workspace-test.js"></script>
function reply()
{
- var projectDelegate = manager.fileSystemWorkspaceProvider.delegate(path);
var paths = [];
for (var i = 0; i < names.length; ++i)
paths.push("/var/www/" + names[i]);
- projectDelegate.searchCompleted(requestId, paths);
+ manager.fileSystemWorkspaceBinding.searchCompleted(requestId, path, paths);
}
}
WebInspector.inspectorView.showPanel("sources");
+ WebInspector.inspectorView.showViewInDrawer("search");
InspectorTest.createWorkspace();
manager = InspectorTest.createIsolatedFileSystemManager(InspectorTest.testWorkspace, InspectorTest.testFileSystemMapping);
var searchConfig = new WebInspector.SearchConfig(query, true, false);
runSearchAndDumpResults(searchConfig, next);
},
+
+ function testFileSEARCH_NOT_JS_NOT_CSS(next)
+ {
+ var query = "searchTest" + "UniqueString" + " file:search -file:js -file:css";
+ var searchConfig = new WebInspector.SearchConfig(query, true, false);
+ runSearchAndDumpResults(searchConfig, next);
+ },
]);
}