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

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

Issue 2491983002: [DevTools] reworked JavaScriptBreakpointsSidebarPane.js (Closed)
Patch Set: addressed offline comments Created 4 years, 1 month 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 setBreakpoint(currentSourceFrame, 16, "false"); 69 setBreakpoint(currentSourceFrame, 16, "false");
70 InspectorTest.runTestFunction(); 70 InspectorTest.runTestFunction();
71 InspectorTest.addConsoleSniffer(testFunctionFinished); 71 InspectorTest.addConsoleSniffer(testFunctionFinished);
72 72
73 } 73 }
74 74
75 function testFunctionFinished(callFrames) 75 function testFunctionFinished(callFrames)
76 { 76 {
77 InspectorTest.addResult("Test function finished."); 77 InspectorTest.addResult("Test function finished.");
78 InspectorTest.dumpBreakpointSidebarPane(); 78 InspectorTest.dumpBreakpointSidebarPane();
79 InspectorTest.addSniffer(currentSourceFrame, "_removeBreakpointD ecoration", breakpointRemoved); 79 InspectorTest.addSniffer(WebInspector.JavaScriptBreakpointsSideb arPane.prototype, "didUpdateForTest", breakpointRemoved.bind(this));
80 InspectorTest.removeBreakpoint(currentSourceFrame, 16); 80 InspectorTest.removeBreakpoint(currentSourceFrame, 16);
81 } 81 }
82 82
83 function breakpointRemoved() 83 function breakpointRemoved()
84 { 84 {
85 InspectorTest.addResult("Breakpoints removed."); 85 InspectorTest.addResult("Breakpoints removed.");
86 InspectorTest.dumpBreakpointSidebarPane(); 86 InspectorTest.dumpBreakpointSidebarPane();
87 next(); 87 next();
88 } 88 }
89 }, 89 },
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 </script> 127 </script>
128 </head> 128 </head>
129 129
130 <body onload="runTest()"> 130 <body onload="runTest()">
131 <p> 131 <p>
132 Tests setting breakpoints. 132 Tests setting breakpoints.
133 </p> 133 </p>
134 134
135 </body> 135 </body>
136 </html> 136 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698