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

Side by Side Diff: LayoutTests/inspector/sources/debugger/skip-pauses-until-reload.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 InspectorTest.addResult("Set up DOM breakpoints."); 74 InspectorTest.addResult("Set up DOM breakpoints.");
75 pane._setBreakpoint(node, pane._breakpointTypes.SubtreeModified, true); 75 pane._setBreakpoint(node, pane._breakpointTypes.SubtreeModified, true);
76 pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true) ; 76 pane._setBreakpoint(node, pane._breakpointTypes.AttributeModified, true) ;
77 pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true); 77 pane._setBreakpoint(node, pane._breakpointTypes.NodeRemoved, true);
78 setUpEventBreakpoints(); 78 setUpEventBreakpoints();
79 } 79 }
80 80
81 function setUpEventBreakpoints() 81 function setUpEventBreakpoints()
82 { 82 {
83 WebInspector.inspectorView.showPanel("sources"); 83 WebInspector.inspectorView.showPanel("sources");
84 var pane = WebInspector.panels.sources.sidebarPanes.eventListenerBreakpo ints; 84 var pane = WebInspector.inspectorView.panel("sources").sidebarPanes.even tListenerBreakpoints;
85 InspectorTest.addResult("Set up Event breakpoints."); 85 InspectorTest.addResult("Set up Event breakpoints.");
86 pane._setBreakpoint("listener:click"); 86 pane._setBreakpoint("listener:click");
87 InspectorTest.runAfterPendingDispatches(didSetUp); 87 InspectorTest.runAfterPendingDispatches(didSetUp);
88 } 88 }
89 89
90 function didSetUp() 90 function didSetUp()
91 { 91 {
92 InspectorTest.addResult("Did set up."); 92 InspectorTest.addResult("Did set up.");
93 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); 93 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
94 } 94 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 </head> 131 </head>
132 132
133 <body onload="runTest()"> 133 <body onload="runTest()">
134 <p>Tests that 'skip all pauses' mode blocks breakpoint and gets cancelled right at page reload. 134 <p>Tests that 'skip all pauses' mode blocks breakpoint and gets cancelled right at page reload.
135 </p> 135 </p>
136 136
137 <div id="element" onclick="return 0;"></div> 137 <div id="element" onclick="return 0;"></div>
138 </body> 138 </body>
139 </html> 139 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698