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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-callstack-middle-run.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 setTimeout(timeoutOffCapturing, 0); 9 setTimeout(timeoutOffCapturing, 0);
10 } 10 }
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 function timeoutOnCapturing() 24 function timeoutOnCapturing()
25 { 25 {
26 debugger; 26 debugger;
27 } 27 }
28 28
29 var test = function() 29 var test = function()
30 { 30 {
31 var totalDebuggerStatements = 3; 31 var totalDebuggerStatements = 3;
32 var maxAsyncCallStackDepth = 4; 32 var maxAsyncCallStackDepth = 8;
33 33
34 InspectorTest.setQuiet(true); 34 InspectorTest.setQuiet(true);
35 InspectorTest.startDebuggerTest(step1); 35 InspectorTest.startDebuggerTest(step1);
36 36
37 function step1() 37 function step1()
38 { 38 {
39 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0, step2); 39 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(0, step2);
40 } 40 }
41 41
42 function step2() 42 function step2()
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 </script> 74 </script>
75 </head> 75 </head>
76 76
77 <body onload="runTest()"> 77 <body onload="runTest()">
78 <p> 78 <p>
79 Tests that capturing asynchronous call stacks in debugger works if started after some time since the page loads. 79 Tests that capturing asynchronous call stacks in debugger works if started after some time since the page loads.
80 </p> 80 </p>
81 81
82 </body> 82 </body>
83 </html> 83 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698