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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/sources/debugger/async-callstack-fetch.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="../../inspector-test.js"></script> 3 <script src="../../inspector-test.js"></script>
4 <script src="../../debugger-test.js"></script> 4 <script src="../../debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 setTimeout(doFetch, 0); 9 setTimeout(doFetch, 0);
10 } 10 }
11 11
12 function doFetch() 12 function doFetch()
13 { 13 {
14 fetch("../debugger/resources/script1.js").then(function chained1() { 14 fetch("../debugger/resources/script1.js").then(function chained1() {
15 debugger; 15 debugger;
16 }).then(function chained2() { 16 }).then(function chained2() {
17 }).then(function chained3() { 17 }).then(function chained3() {
18 }).then(function chained4() { 18 }).then(function chained4() {
19 debugger; 19 debugger;
20 }); 20 });
21 } 21 }
22 22
23 var test = function() 23 var test = function()
24 { 24 {
25 var totalDebuggerStatements = 2; 25 var totalDebuggerStatements = 2;
26 var maxAsyncCallStackDepth = 4; 26 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
27 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
28 } 27 }
29 28
30 </script> 29 </script>
31 </head> 30 </head>
32 31
33 <body onload="runTest()"> 32 <body onload="runTest()">
34 <p> 33 <p>
35 Tests asynchronous call stacks for fetch. 34 Tests asynchronous call stacks for fetch.
36 </p> 35 </p>
37 36
38 </body> 37 </body>
39 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698