| Index: LayoutTests/inspector/sources/debugger/scripts-sorting.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/scripts-sorting.html b/LayoutTests/inspector/sources/debugger/scripts-sorting.html
|
| deleted file mode 100644
|
| index 0e9fa09025dc4955c58eec374a8fd06b0cfbe727..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/scripts-sorting.html
|
| +++ /dev/null
|
| @@ -1,99 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script src="../../../http/tests/inspector/workspace-test.js"></script>
|
| -
|
| -<script>
|
| -function test()
|
| -{
|
| - function dumpNavigator(sourcesNavigatorView)
|
| - {
|
| - InspectorTest.dumpNavigatorView(sourcesNavigatorView, "sources", " ");
|
| - }
|
| -
|
| - function createNavigatorView(constructor)
|
| - {
|
| - var navigatorView = new constructor();
|
| - navigatorView.setWorkspace(InspectorTest.testWorkspace);
|
| - navigatorView.show(WebInspector.inspectorView.element);
|
| - return navigatorView;
|
| - }
|
| -
|
| - InspectorTest.createWorkspaceWithTarget(true);
|
| - sourcesNavigatorView = createNavigatorView(WebInspector.SourcesNavigatorView);
|
| - contentScriptsNavigatorView = createNavigatorView(WebInspector.ContentScriptsNavigatorView);
|
| -
|
| - var uiSourceCodes = [];
|
| - function addUISourceCode(url, isContentScript)
|
| - {
|
| - var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, "");
|
| - var uiSourceCode = InspectorTest.testNetworkProject.addFileForURL(url, contentProvider, isContentScript);
|
| - uiSourceCodes.push(uiSourceCode);
|
| - }
|
| -
|
| - function dumpNavigator()
|
| - {
|
| - InspectorTest.dumpNavigatorView(sourcesNavigatorView, "sources", " ");
|
| - InspectorTest.dumpNavigatorView(contentScriptsNavigatorView, "contentScripts", " ");
|
| - }
|
| -
|
| - function dumpScriptsList()
|
| - {
|
| - InspectorTest.addResult("");
|
| - dumpNavigator();
|
| -
|
| - sourcesNavigatorView.revealUISourceCode(uiSourceCodes[0]);
|
| - contentScriptsNavigatorView.revealUISourceCode(uiSourceCodes[0]);
|
| -
|
| - dumpNavigator();
|
| -
|
| - for (var i = 0; i < uiSourceCodes.length; ++i) {
|
| - sourcesNavigatorView.revealUISourceCode(uiSourceCodes[i]);
|
| - contentScriptsNavigatorView.revealUISourceCode(uiSourceCodes[i]);
|
| - }
|
| -
|
| - dumpNavigator();
|
| - }
|
| -
|
| - var scripts = [
|
| - "block.js?block=foo",
|
| - "ga.js",
|
| - "lenta.ban?pg=4883&ifr=1",
|
| - "lenta.ban?pg=5309&ifr=1",
|
| - "top100.jcn?80674",
|
| - "_js/production/motor.js?1308927432",
|
| - "i/xgemius.js",
|
| - "i/js/jquery-1.5.1.min.js",
|
| - "i/js/jquery.cookie.js",
|
| - "foo/path/bar.js?file=bar/zzz.js",
|
| - "foo/path/foo.js?file=bar/aaa.js" ];
|
| - for (var i = 0; i < scripts.length; ++i)
|
| - addUISourceCode("http://foo.com/" + scripts[i]);
|
| -
|
| - var scripts2 = [
|
| - "foo/path/bar.js?file=bar/zzz.js",
|
| - "foo/path/foo.js?file=bar/aaa.js" ];
|
| - for (var i = 0; i < scripts2.length; ++i)
|
| - addUISourceCode("http://bar.com/" + scripts2[i]);
|
| - addUISourceCode("*Non*URL*path");
|
| -
|
| - var extensions = [
|
| - "extension-schema://extension-name/bar.js",
|
| - "extension-schema://extension-name/folder/baz.js" ];
|
| - for (var i = 0; i < extensions.length; ++i)
|
| - addUISourceCode(extensions[i], true);
|
| - addUISourceCode("*Another*Non*URL*path", true);
|
| - dumpScriptsList();
|
| - InspectorTest.completeTest();
|
| -}
|
| -</script>
|
| -
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests scripts sorting in the scripts panel.
|
| -</p>
|
| -</body>
|
| -
|
| -</html>
|
|
|