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

Side by Side Diff: LayoutTests/inspector/debugger/script-formatter-breakpoints.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="resources/unformatted.js"></script> 5 <script src="resources/unformatted.js"></script>
6 6
7 <script> 7 <script>
8 8
9 function f1() 9 function f1()
10 { 10 {
11 var a=0;var b=1;var c=3;var d=4;var e=5; 11 var a=0;var b=1;var c=3;var d=4;var e=5;
12 var f=0; 12 var f=0;
13 return 0; 13 return 0;
14 } 14 }
15 15
16 var test = function() 16 var test = function()
17 { 17 {
18 WebInspector.breakpointManager._storage._breakpoints = {}; 18 WebInspector.breakpointManager._storage._breakpoints = {};
19 var panel = WebInspector.panels.scripts; 19 var panel = WebInspector.panels.sources;
20 var sourceFrame; 20 var sourceFrame;
21 21
22 InspectorTest.runDebuggerTestSuite([ 22 InspectorTest.runDebuggerTestSuite([
23 function testBreakpointsInOriginalAndFormattedSource(next) 23 function testBreakpointsInOriginalAndFormattedSource(next)
24 { 24 {
25 InspectorTest.showScriptSource("script-formatter-breakpoints.html", didShowScriptSource); 25 InspectorTest.showScriptSource("script-formatter-breakpoints.html", didShowScriptSource);
26 26
27 function didShowScriptSource(frame) 27 function didShowScriptSource(frame)
28 { 28 {
29 sourceFrame = frame; 29 sourceFrame = frame;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 InspectorTest.removeBreakpoint(sourceFrame, 3); 118 InspectorTest.removeBreakpoint(sourceFrame, 3);
119 sourceFrame._uiSourceCode.setFormatted(false); 119 sourceFrame._uiSourceCode.setFormatted(false);
120 dumpBreakpointSidebarPane("while paused in raw"); 120 dumpBreakpointSidebarPane("while paused in raw");
121 InspectorTest.resumeExecution(next); 121 InspectorTest.resumeExecution(next);
122 } 122 }
123 } 123 }
124 ]); 124 ]);
125 125
126 function dumpBreakpointSidebarPane(title) 126 function dumpBreakpointSidebarPane(title)
127 { 127 {
128 var paneElement = WebInspector.panels.scripts.sidebarPanes.jsBreakpoints .listElement 128 var paneElement = WebInspector.panels.sources.sidebarPanes.jsBreakpoints .listElement
129 InspectorTest.addResult("Breakpoint sidebar pane " + title); 129 InspectorTest.addResult("Breakpoint sidebar pane " + title);
130 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem ent)); 130 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(paneElem ent));
131 } 131 }
132 } 132 }
133 133
134 </script> 134 </script>
135 135
136 </head> 136 </head>
137 137
138 <body onload="runTest()"> 138 <body onload="runTest()">
139 <p>Tests the script formatting is working fine with breakpoints. 139 <p>Tests the script formatting is working fine with breakpoints.
140 </p> 140 </p>
141 141
142 </body> 142 </body>
143 </html> 143 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/script-formatter.html ('k') | LayoutTests/inspector/debugger/script-formatter-console.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698