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

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

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: reupload 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
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 {
(...skipping 29 matching lines...) Expand all
40 40
41 function addNetworkFile(workspace, url) 41 function addNetworkFile(workspace, url)
42 { 42 {
43 return InspectorTest.testNetworkProject.addFile(createContentProvider(ur l), InspectorTest.mainFrame()); 43 return InspectorTest.testNetworkProject.addFile(createContentProvider(ur l), InspectorTest.mainFrame());
44 } 44 }
45 45
46 function addDebuggerFile(workspace, url) 46 function addDebuggerFile(workspace, url)
47 { 47 {
48 var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode( url, WebInspector.resourceTypes.Script); 48 var uiSourceCode = InspectorTest.testDebuggerProject.createUISourceCode( url, WebInspector.resourceTypes.Script);
49 InspectorTest.testDebuggerProject.addUISourceCodeWithProvider(uiSourceCo de, createContentProvider(url)); 49 InspectorTest.testDebuggerProject.addUISourceCodeWithProvider(uiSourceCo de, createContentProvider(url));
50 return InspectorTest.testWorkspace.uiSourceCode("debugger:", uiSourceCod e.url()); 50 return uiSourceCode;
51 } 51 }
52 52
53 InspectorTest.runTestSuite([ 53 InspectorTest.runTestSuite([
54 function testInitialLoad(next) 54 function testInitialLoad(next)
55 { 55 {
56 var workspace = createMockWorkspace(); 56 var workspace = createMockWorkspace();
57 57
58 addNetworkFile(workspace, "foobar.js"); 58 addNetworkFile(workspace, "foobar.js");
59 59
60 var sourcesNavigatorView = createNavigatorView(); 60 var sourcesNavigatorView = createNavigatorView();
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 next(); 109 next();
110 } 110 }
111 ]); 111 ]);
112 }; 112 };
113 </script> 113 </script>
114 </head> 114 </head>
115 <body onload="runTest()"> 115 <body onload="runTest()">
116 <p>Tests that scripts panel UI elements work as intended.</p> 116 <p>Tests that scripts panel UI elements work as intended.</p>
117 </body> 117 </body>
118 </html> 118 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698