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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-events.html

Issue 2650943009: [DevTools] increase AsyncCallStackDepth to 8 (Closed)
Patch Set: added missing test Created 3 years, 10 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 for (var name in window) { 9 for (var name in window) {
10 if (/^doTest[A-Z]/.test(name) && typeof window[name] === "function") 10 if (/^doTest[A-Z]/.test(name) && typeof window[name] === "function")
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 function onVideoPlay() 68 function onVideoPlay()
69 { 69 {
70 video.removeEventListener("play", onVideoPlay, false); 70 video.removeEventListener("play", onVideoPlay, false);
71 debugger; 71 debugger;
72 } 72 }
73 73
74 var test = function() 74 var test = function()
75 { 75 {
76 var totalDebuggerStatements = 4; 76 var totalDebuggerStatements = 4;
77 var maxAsyncCallStackDepth = 4; 77 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
78 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
79 } 78 }
80 79
81 </script> 80 </script>
82 </head> 81 </head>
83 82
84 <body onload="runTest()"> 83 <body onload="runTest()">
85 <video id="video" src="../../../media/content/test.ogv"></video> 84 <video id="video" src="../../../media/content/test.ogv"></video>
86 <p id="content"> 85 <p id="content">
87 Tests asynchronous call stacks for various DOM events. 86 Tests asynchronous call stacks for various DOM events.
88 </p> 87 </p>
89 </body> 88 </body>
90 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698