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

Side by Side Diff: LayoutTests/inspector/debugger/step-through-event-listeners.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 <script> 5 <script>
6 6
7 function listener1() 7 function listener1()
8 { 8 {
9 } 9 }
10 10
(...skipping 10 matching lines...) Expand all
21 var element = document.getElementById("test"); 21 var element = document.getElementById("test");
22 element.addEventListener("click", listener1, true); 22 element.addEventListener("click", listener1, true);
23 element.addEventListener("click", listener2, true); 23 element.addEventListener("click", listener2, true);
24 document.body.addEventListener("click", listener3, true); 24 document.body.addEventListener("click", listener3, true);
25 document.body.addEventListener("click", listener3, false); 25 document.body.addEventListener("click", listener3, false);
26 element.click(); 26 element.click();
27 } 27 }
28 28
29 function test() 29 function test()
30 { 30 {
31 var pane = WebInspector.showPanel("scripts").sidebarPanes.eventListenerBreak points; 31 var pane = WebInspector.showPanel("sources").sidebarPanes.eventListenerBreak points;
32 InspectorTest.runDebuggerTestSuite([ 32 InspectorTest.runDebuggerTestSuite([
33 function testClickBreakpoint(next) 33 function testClickBreakpoint(next)
34 { 34 {
35 pane._setBreakpoint("listener:click"); 35 pane._setBreakpoint("listener:click");
36 InspectorTest.waitUntilPaused(paused1); 36 InspectorTest.waitUntilPaused(paused1);
37 InspectorTest.evaluateInPageWithTimeout("addListenerAndClick()"); 37 InspectorTest.evaluateInPageWithTimeout("addListenerAndClick()");
38 38
39 function paused1(callFrames) 39 function paused1(callFrames)
40 { 40 {
41 InspectorTest.captureStackTrace(callFrames); 41 InspectorTest.captureStackTrace(callFrames);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 <body onload="runTest()"> 85 <body onload="runTest()">
86 <p> 86 <p>
87 Test that debugger will pause in all event listeners when corresponding breakpoi nt is set. 87 Test that debugger will pause in all event listeners when corresponding breakpoi nt is set.
88 <a href="https://bugs.webkit.org/show_bug.cgi?id=77331">Bug 77331.</a> 88 <a href="https://bugs.webkit.org/show_bug.cgi?id=77331">Bug 77331.</a>
89 </p> 89 </p>
90 90
91 <input type=button id="test"></input> 91 <input type=button id="test"></input>
92 92
93 </body> 93 </body>
94 </html> 94 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698