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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await2.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 timeoutPromise(value, ms) 7 function timeoutPromise(value, ms)
8 { 8 {
9 return new Promise(function promiseCallback(resolve, reject) { 9 return new Promise(function promiseCallback(resolve, reject) {
10 function resolvePromise() 10 function resolvePromise()
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 let parse = await JSON.parse(stringify); 85 let parse = await JSON.parse(stringify);
86 thenCallback(parse); 86 thenCallback(parse);
87 } catch (e) { 87 } catch (e) {
88 errorCallback(e); 88 errorCallback(e);
89 } 89 }
90 } 90 }
91 91
92 var test = function() 92 var test = function()
93 { 93 {
94 var totalDebuggerStatements = 6; 94 var totalDebuggerStatements = 6;
95 var maxAsyncCallStackDepth = 5; 95 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
96 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
97 } 96 }
98 97
99 </script> 98 </script>
100 </head> 99 </head>
101 100
102 <body onload="runTest()"> 101 <body onload="runTest()">
103 <p> 102 <p>
104 Tests asynchronous call stacks for async functions. 103 Tests asynchronous call stacks for async functions.
105 </p> 104 </p>
106 105
107 </body> 106 </body>
108 </html> 107 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698