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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html

Issue 2384783003: DevTools: split Sources tree into Network and Filesystem trees. (Closed)
Patch Set: review comments addressed Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 function dumpNavigator(sourcesNavigatorView) 9 function dumpNavigator(sourcesNavigatorView)
10 { 10 {
11 InspectorTest.addResult("Navigator:"); 11 InspectorTest.addResult("Navigator:");
12 InspectorTest.dumpNavigatorView(sourcesNavigatorView); 12 InspectorTest.dumpNavigatorView(sourcesNavigatorView);
13 } 13 }
14 14
15 function createNavigatorView() 15 function createNavigatorView()
16 { 16 {
17 var workspace = WebInspector.workspace;
18 WebInspector.workspace = InspectorTest.testWorkspace;
17 var navigatorView = new WebInspector.SourcesNavigatorView(); 19 var navigatorView = new WebInspector.SourcesNavigatorView();
18 navigatorView._resetWorkspace(InspectorTest.testWorkspace); 20 WebInspector.workspace = workspace;
19 navigatorView.show(WebInspector.inspectorView.element); 21 navigatorView.show(WebInspector.inspectorView.element);
20 return navigatorView; 22 return navigatorView;
21 } 23 }
22 24
23 function createContentProvider(url) 25 function createContentProvider(url)
24 { 26 {
25 var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, ""); 27 var contentProvider = WebInspector.StaticContentProvider.fromString(url, WebInspector.resourceTypes.Script, "");
26 contentProvider.requestContent = function() 28 contentProvider.requestContent = function()
27 { 29 {
28 InspectorTest.addResult("Source requested for " + url); 30 InspectorTest.addResult("Source requested for " + url);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 next(); 111 next();
110 } 112 }
111 ]); 113 ]);
112 }; 114 };
113 </script> 115 </script>
114 </head> 116 </head>
115 <body onload="runTest()"> 117 <body onload="runTest()">
116 <p>Tests that scripts panel UI elements work as intended.</p> 118 <p>Tests that scripts panel UI elements work as intended.</p>
117 </body> 119 </body>
118 </html> 120 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698