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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts-expected.txt

Issue 2887903002: [DevTools] update decorations when there is no pending possibleBreakpoints (Closed)
Patch Set: better tests Created 3 years, 7 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 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags. Bug 54544. 1 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags. Bug 54544.
2 2
3 Script source was shown. 3 Script source was shown.
4 Script execution paused. 4 Script execution paused.
5 Call stack: 5 Call stack:
6 0) f1 (debug-inlined-scripts.html:3) 6 0) f1 (debug-inlined-scripts.html:3)
7 1) (debug-inlined-scripts.html:3) 7 1) (debug-inlined-scripts.html:3)
8 Call stack status: Paused on breakpoint 8 Call stack status: Paused on breakpoint
9 ==Source frame contents start== 9 ==Source frame contents start==
10 <html> 10 <html>
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 39
40 function step1() 40 function step1()
41 { 41 {
42 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); 42 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2);
43 } 43 }
44 44
45 function step2(sourceFrame) 45 function step2(sourceFrame)
46 { 46 {
47 InspectorTest.addResult("Script source was shown."); 47 InspectorTest.addResult("Script source was shown.");
48 InspectorTest.prepareSourceFrameForBreakpointTest(sourceFrame);
49 48
50 InspectorTest.setBreakpoint(sourceFrame, 2, "", true); 49 InspectorTest.setBreakpoint(sourceFrame, 2, "", true);
51 InspectorTest.setBreakpoint(sourceFrame, 9, "", true); 50 InspectorTest.setBreakpoint(sourceFrame, 9, "", true);
52 51
53 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame) 52 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame)
54 .then(() => { 53 .then(() => {
55 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes t()); 54 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes t());
56 }); 55 });
57 56
58 InspectorTest.waitUntilPaused(step3); 57 InspectorTest.waitUntilPaused(step3);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 145 }
147 146
148 function step1() 147 function step1()
149 { 148 {
150 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); 149 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2);
151 } 150 }
152 151
153 function step2(sourceFrame) 152 function step2(sourceFrame)
154 { 153 {
155 InspectorTest.addResult("Script source was shown."); 154 InspectorTest.addResult("Script source was shown.");
156 InspectorTest.prepareSourceFrameForBreakpointTest(sourceFrame);
157 155
158 InspectorTest.setBreakpoint(sourceFrame, 2, "", true); 156 InspectorTest.setBreakpoint(sourceFrame, 2, "", true);
159 InspectorTest.setBreakpoint(sourceFrame, 9, "", true); 157 InspectorTest.setBreakpoint(sourceFrame, 9, "", true);
160 158
161 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame) 159 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame)
162 .then(() => { 160 .then(() => {
163 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes t()); 161 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes t());
164 }); 162 });
165 163
166 InspectorTest.waitUntilPaused(step3); 164 InspectorTest.waitUntilPaused(step3);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags. 211 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags.
214 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> 212 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a>
215 </p> 213 </p>
216 214
217 </body> 215 </body>
218 </html> 216 </html>
219 217
220 ==Source frame contents end== 218 ==Source frame contents end==
221 Page reloaded. 219 Page reloaded.
222 220
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698