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

Side by Side Diff: LayoutTests/inspector/debugger/debugger-step-into-event-listener.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 testFunction() 7 function testFunction()
8 { 8 {
9 var div = document.getElementById("myDiv"); 9 var div = document.getElementById("myDiv");
10 function fooEventHandler1() { 10 function fooEventHandler1() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 var stepCount = 0; 44 var stepCount = 0;
45 function step2(callFrames) 45 function step2(callFrames)
46 { 46 {
47 if (stepCount === 2) 47 if (stepCount === 2)
48 checkTopFrameFunction(callFrames, "fooEventHandler1"); 48 checkTopFrameFunction(callFrames, "fooEventHandler1");
49 else if (stepCount === 5) 49 else if (stepCount === 5)
50 checkTopFrameFunction(callFrames, "fooEventHandler2"); 50 checkTopFrameFunction(callFrames, "fooEventHandler2");
51 51
52 if (stepCount < 5) { 52 if (stepCount < 5) {
53 InspectorTest.addResult("Stepping into..."); 53 InspectorTest.addResult("Stepping into...");
54 WebInspector.panels.scripts._stepIntoButton.element.click(); 54 WebInspector.panels.sources._stepIntoButton.element.click();
55 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In spectorTest, step2)); 55 InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(In spectorTest, step2));
56 } else 56 } else
57 InspectorTest.completeDebuggerTest(); 57 InspectorTest.completeDebuggerTest();
58 stepCount++; 58 stepCount++;
59 } 59 }
60 } 60 }
61 61
62 </script> 62 </script>
63 </head> 63 </head>
64 64
65 <body onload="runTest()"> 65 <body onload="runTest()">
66 <p> 66 <p>
67 Tests that stepping into dispatchEvent() method will lead to a pause in the firs t event listener. 67 Tests that stepping into dispatchEvent() method will lead to a pause in the firs t event listener.
68 </p> 68 </p>
69 <div id="myDiv"></div> 69 <div id="myDiv"></div>
70 70
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/debugger-step-in.html ('k') | LayoutTests/inspector/debugger/debugger-step-out.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698