Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(727)

Side by Side Diff: LayoutTests/inspector/debugger/scripts-sorting.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../../http/tests/inspector/workspace-test.js"></script> 5 <script src="../../http/tests/inspector/workspace-test.js"></script>
6 6
7 <script> 7 <script>
8 function test() 8 function test()
9 { 9 {
10 WebInspector.showPanel("scripts"); 10 WebInspector.showPanel("sources");
11 InspectorTest.createWorkspace(true); 11 InspectorTest.createWorkspace(true);
12 var panel = new WebInspector.ScriptsPanel(InspectorTest.testWorkspace); 12 var panel = new WebInspector.SourcesPanel(InspectorTest.testWorkspace);
13 var navigator = panel._navigator; 13 var navigator = panel._navigator;
14 14
15 var uiSourceCodes = []; 15 var uiSourceCodes = [];
16 function addUISourceCode(url, isContentScript) 16 function addUISourceCode(url, isContentScript)
17 { 17 {
18 var contentProvider = new WebInspector.StaticContentProvider(WebInspecto r.resourceTypes.Script, "", "text/javascript"); 18 var contentProvider = new WebInspector.StaticContentProvider(WebInspecto r.resourceTypes.Script, "", "text/javascript");
19 var uiSourceCode = InspectorTest.testNetworkWorkspaceProvider.addFileFor URL(url, contentProvider, false, isContentScript); 19 var uiSourceCode = InspectorTest.testNetworkWorkspaceProvider.addFileFor URL(url, contentProvider, false, isContentScript);
20 uiSourceCodes.push(uiSourceCode); 20 uiSourceCodes.push(uiSourceCode);
21 } 21 }
22 22
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 </script> 65 </script>
66 66
67 </head> 67 </head>
68 <body onload="runTest()"> 68 <body onload="runTest()">
69 <p> 69 <p>
70 Tests scripts sorting in the scripts panel. 70 Tests scripts sorting in the scripts panel.
71 </p> 71 </p>
72 </body> 72 </body>
73 73
74 </html> 74 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698