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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-dom-xhr-event-breakpoints.html

Issue 2389883003: DevTools: hoist debugger paused reason to top (Closed)
Patch Set: re-add stray line 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/elements-test.js"></script> 4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script src="../debugger/resources/framework.js"></script> 6 <script src="../debugger/resources/framework.js"></script>
7 <script> 7 <script>
8 8
9 function appendElement(parentId, childId) 9 function appendElement(parentId, childId)
10 { 10 {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 InspectorTest.setQuiet(true); 78 InspectorTest.setQuiet(true);
79 79
80 InspectorTest.runDebuggerTestSuite([ 80 InspectorTest.runDebuggerTestSuite([
81 function testDOMBreakpoint(next) 81 function testDOMBreakpoint(next)
82 { 82 {
83 InspectorTest.nodeWithId("rootElement", step1); 83 InspectorTest.nodeWithId("rootElement", step1);
84 84
85 function step1(node) 85 function step1(node)
86 { 86 {
87 var pane = WebInspector.domBreakpointsSidebarPane; 87 var pane = WebInspector.domBreakpointsSidebarPane;
88 pane._setBreakpoint(node, pane._breakpointTypes.SubtreeModified, true); 88 pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane .BreakpointTypes.SubtreeModified, true);
89 InspectorTest.evaluateInPageWithTimeout("appendElement('rootElem ent', 'childElement')"); 89 InspectorTest.evaluateInPageWithTimeout("appendElement('rootElem ent', 'childElement')");
90 InspectorTest.waitUntilPausedAndDumpStackAndResume(next); 90 InspectorTest.waitUntilPausedAndDumpStackAndResume(next);
91 } 91 }
92 }, 92 },
93 93
94 function testXHRBreakpoint(next) 94 function testXHRBreakpoint(next)
95 { 95 {
96 var pane = self.runtime.sharedInstance(WebInspector.XHRBreakpointsSi debarPane); 96 var pane = self.runtime.sharedInstance(WebInspector.XHRBreakpointsSi debarPane);
97 pane._setBreakpoint("foo", true); 97 pane._setBreakpoint("foo", true);
98 InspectorTest.evaluateInPageWithTimeout("sendXHR('/foo?a=b')"); 98 InspectorTest.evaluateInPageWithTimeout("sendXHR('/foo?a=b')");
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 </head> 175 </head>
176 176
177 <body onload="runTest()"> 177 <body onload="runTest()">
178 <p> 178 <p>
179 Tests framework black-boxing on DOM, XHR and Event breakpoints. 179 Tests framework black-boxing on DOM, XHR and Event breakpoints.
180 </p> 180 </p>
181 <div id="rootElement"></div> 181 <div id="rootElement"></div>
182 <input type=button id="test"></input> 182 <input type=button id="test"></input>
183 </body> 183 </body>
184 </html> 184 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698