| Index: LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| diff --git a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html b/LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| similarity index 89%
|
| rename from LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| rename to LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| index 71d57421b780e4f308f679103ed1bd8c650ba459..176ab2a99b803a6011a9b234196d4aa28e02c40f 100644
|
| --- a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
|
| +++ b/LayoutTests/http/tests/inspector/search/sources-search-scope.html
|
| @@ -1,23 +1,19 @@
|
| <html>
|
| <head>
|
| <title>Change inspected iframe's "src" attribute.</title>
|
| -<script src="../../inspector/inspector-test.js"></script>
|
| -<script src="../../inspector/resources-test.js"></script>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="../resources-test.js"></script>
|
| <script>
|
| -function onload()
|
| -{
|
| - 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)
|
| + InspectorTest.reloadPage(step1);
|
| +
|
| + function step1()
|
| + {
|
| + WebInspector.inspectorView.showPanel("sources");
|
| + WebInspector.inspectorView.showViewInDrawer("search");
|
| + InspectorTest.runAfterResourcesAreFinished(["search.html", "search.js", "search.css"], step2)
|
| + }
|
|
|
| function runSearchAndDumpResults(searchConfig, callback)
|
| {
|
| @@ -135,8 +131,8 @@ function test()
|
|
|
| </script>
|
| </head>
|
| -<body onload="onload()">
|
| -<iframe src="../../inspector/search/resources/search.html">
|
| +<body onload="runTest()">
|
| +<iframe src="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>
|
|
|