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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/set-breakpoint.html

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 <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 5
6 <script> 6 <script>
7 function oneLineTestFunction() { return 0; } 7 function oneLineTestFunction() { return 0; }
8 </script> 8 </script>
9 9
10 <script> 10 <script>
(...skipping 12 matching lines...) Expand all
23 var currentSourceFrame; 23 var currentSourceFrame;
24 InspectorTest.setQuiet(true); 24 InspectorTest.setQuiet(true);
25 InspectorTest.runDebuggerTestSuite([ 25 InspectorTest.runDebuggerTestSuite([
26 function testSetBreakpoint(next) 26 function testSetBreakpoint(next)
27 { 27 {
28 InspectorTest.showScriptSource("set-breakpoint.html", didShowScriptS ource); 28 InspectorTest.showScriptSource("set-breakpoint.html", didShowScriptS ource);
29 29
30 function didShowScriptSource(sourceFrame) 30 function didShowScriptSource(sourceFrame)
31 { 31 {
32 currentSourceFrame = sourceFrame; 32 currentSourceFrame = sourceFrame;
33 InspectorTest.prepareSourceFrameForBreakpointTest(currentSourceF rame);
34 InspectorTest.addResult("Script source was shown."); 33 InspectorTest.addResult("Script source was shown.");
35 InspectorTest.waitUntilPaused(didPause); 34 InspectorTest.waitUntilPaused(didPause);
36 InspectorTest.createNewBreakpoint(currentSourceFrame, 16, "", tr ue) 35 InspectorTest.createNewBreakpoint(currentSourceFrame, 16, "", tr ue)
37 .then(() => InspectorTest.waitBreakpointSidebarPane()) 36 .then(() => InspectorTest.waitBreakpointSidebarPane())
38 .then(() => InspectorTest.runTestFunction()); 37 .then(() => InspectorTest.runTestFunction());
39 } 38 }
40 39
41 function didPause(callFrames) 40 function didPause(callFrames)
42 { 41 {
43 InspectorTest.addResult("Script execution paused."); 42 InspectorTest.addResult("Script execution paused.");
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 </script> 124 </script>
126 </head> 125 </head>
127 126
128 <body onload="runTest()"> 127 <body onload="runTest()">
129 <p> 128 <p>
130 Tests setting breakpoints. 129 Tests setting breakpoints.
131 </p> 130 </p>
132 131
133 </body> 132 </body>
134 </html> 133 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698