| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
|
| index c74a435ec963ce803f68d70244ffeae6b373a12e..4d2b1c7676dac3d01450f5e63027a5dadcedf38f 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html
|
| @@ -7,11 +7,6 @@
|
| <script>
|
| function test()
|
| {
|
| - function dumpNavigator(sourcesNavigatorView)
|
| - {
|
| - InspectorTest.dumpNavigatorView(sourcesNavigatorView);
|
| - }
|
| -
|
| function createNavigatorView(constructor)
|
| {
|
| var navigatorView = new constructor();
|
| @@ -32,31 +27,18 @@ function test()
|
| uiSourceCodes.push(uiSourceCode);
|
| }
|
|
|
| - function dumpNavigator(view)
|
| - {
|
| - ["frame", "frame/domain", "frame/domain/folder", "domain", "domain/folder"].forEach(dumpNavigatorInMode.bind(null, view));
|
| - }
|
| -
|
| - function dumpNavigatorInMode(view, mode)
|
| - {
|
| - InspectorTest.addResult(view === sourcesNavigatorView ? "Sources:" : "Content Scripts:");
|
| - WebInspector.moduleSetting("navigatorGrouping").set(mode);
|
| - InspectorTest.addResult("-------- Setting mode: [" + mode + "]");
|
| - InspectorTest.dumpNavigatorView(view);
|
| - }
|
| -
|
| function dumpScriptsList()
|
| {
|
| - dumpNavigator(sourcesNavigatorView);
|
| - dumpNavigator(contentScriptsNavigatorView);
|
| + InspectorTest.dumpNavigatorViewInAllModes(sourcesNavigatorView);
|
| + InspectorTest.dumpNavigatorViewInAllModes(contentScriptsNavigatorView);
|
|
|
| for (var i = 0; i < uiSourceCodes.length; ++i) {
|
| sourcesNavigatorView.revealUISourceCode(uiSourceCodes[i]);
|
| contentScriptsNavigatorView.revealUISourceCode(uiSourceCodes[i]);
|
| }
|
|
|
| - dumpNavigator(sourcesNavigatorView);
|
| - dumpNavigator(contentScriptsNavigatorView);
|
| + InspectorTest.dumpNavigatorViewInAllModes(sourcesNavigatorView);
|
| + InspectorTest.dumpNavigatorViewInAllModes(contentScriptsNavigatorView);
|
| }
|
|
|
| var scripts = [
|
|
|