| Index: LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| diff --git a/LayoutTests/http/tests/inspector/search/sources-search-scope.html b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| similarity index 89%
|
| rename from LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| rename to LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| index 176ab2a99b803a6011a9b234196d4aa28e02c40f..71d57421b780e4f308f679103ed1bd8c650ba459 100644
|
| --- a/LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| +++ b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| @@ -1,19 +1,23 @@
|
| <html>
|
| <head>
|
| <title>Change inspected iframe's "src" attribute.</title>
|
| -<script src="../inspector-test.js"></script>
|
| -<script src="../resources-test.js"></script>
|
| +<script src="../../inspector/inspector-test.js"></script>
|
| +<script src="../../inspector/resources-test.js"></script>
|
| <script>
|
| -function test()
|
| +function onload()
|
| {
|
| - InspectorTest.reloadPage(step1);
|
| -
|
| - function step1()
|
| - {
|
| - WebInspector.inspectorView.showPanel("sources");
|
| - WebInspector.inspectorView.showViewInDrawer("search");
|
| - InspectorTest.runAfterResourcesAreFinished(["search.html", "search.js", "search.css"], step2)
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.showWebInspector();
|
| }
|
| + runTest();
|
| +}
|
| +
|
| +function test()
|
| +{
|
| + WebInspector.inspectorView.showPanel("sources");
|
| + WebInspector.inspectorView.showViewInDrawer("search");
|
| + InspectorTest.runAfterResourcesAreFinished(["search.html", "search.js", "search.css"], step2)
|
|
|
| function runSearchAndDumpResults(searchConfig, callback)
|
| {
|
| @@ -131,8 +135,8 @@ function test()
|
|
|
| </script>
|
| </head>
|
| -<body onload="runTest()">
|
| -<iframe src="resources/search.html">
|
| +<body onload="onload()">
|
| +<iframe src="../../inspector/search/resources/search.html">
|
| <p>Tests that ScriptSearchScope performs search across all sources correctly.</p>
|
| See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>.
|
| </body>
|
|
|