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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/skip-pauses-until-reload.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> 6 <script>
7 7
8 function testFunction() 8 function testFunction()
9 { 9 {
10 console.log("Begin"); 10 console.log("Begin");
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions); 66 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions);
67 InspectorTest.nodeWithId("element", didResolveNode); 67 InspectorTest.nodeWithId("element", didResolveNode);
68 testRunner.logToStderr("didShowScriptSource"); 68 testRunner.logToStderr("didShowScriptSource");
69 } 69 }
70 70
71 function didResolveNode(node) 71 function didResolveNode(node)
72 { 72 {
73 testRunner.logToStderr("didResolveNode"); 73 testRunner.logToStderr("didResolveNode");
74 var pane = WebInspector.domBreakpointsSidebarPane; 74 var pane = WebInspector.domBreakpointsSidebarPane;
75 InspectorTest.addResult("Set up DOM breakpoints."); 75 InspectorTest.addResult("Set up DOM breakpoints.");
76 pane._setBreakpoint(node, pane._breakpointTypes.SubtreeModified, true); 76 pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.Breakpo intTypes.SubtreeModified, true);
77 pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true) ; 77 pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.Breakpo intTypes.AttributeModified, true);
78 pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true); 78 pane._setBreakpoint(node, WebInspector.DOMBreakpointsSidebarPane.Breakpo intTypes.NodeRemoved, true);
79 setUpEventBreakpoints(); 79 setUpEventBreakpoints();
80 } 80 }
81 81
82 function setUpEventBreakpoints() 82 function setUpEventBreakpoints()
83 { 83 {
84 testRunner.logToStderr("setUpEventBreakpoints"); 84 testRunner.logToStderr("setUpEventBreakpoints");
85 var pane = self.runtime.sharedInstance(WebInspector.EventListenerBreakpo intsSidebarPane); 85 var pane = self.runtime.sharedInstance(WebInspector.EventListenerBreakpo intsSidebarPane);
86 InspectorTest.addResult("Set up Event breakpoints."); 86 InspectorTest.addResult("Set up Event breakpoints.");
87 pane._setBreakpoint("listener:click"); 87 pane._setBreakpoint("listener:click");
88 InspectorTest.deprecatedRunAfterPendingDispatches(didSetUp); 88 InspectorTest.deprecatedRunAfterPendingDispatches(didSetUp);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 </head> 147 </head>
148 148
149 <body onload="runTest()"> 149 <body onload="runTest()">
150 <p>Tests that 'skip all pauses' mode blocks breakpoint and gets cancelled right at page reload. 150 <p>Tests that 'skip all pauses' mode blocks breakpoint and gets cancelled right at page reload.
151 </p> 151 </p>
152 152
153 <div id="element" onclick="return 0;"></div> 153 <div id="element" onclick="return 0;"></div>
154 </body> 154 </body>
155 </html> 155 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698