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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await3.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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 let result = await Promise.reject(new Error("2")) 126 let result = await Promise.reject(new Error("2"))
127 thenCallback(result); 127 thenCallback(result);
128 } catch (e) { 128 } catch (e) {
129 errorCallback(e); 129 errorCallback(e);
130 } 130 }
131 } 131 }
132 132
133 var test = function() 133 var test = function()
134 { 134 {
135 var totalDebuggerStatements = 5; 135 var totalDebuggerStatements = 5;
136 var maxAsyncCallStackDepth = 5; 136 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
137 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
138 } 137 }
139 138
140 </script> 139 </script>
141 </head> 140 </head>
142 141
143 <body onload="runTest()"> 142 <body onload="runTest()">
144 <p> 143 <p>
145 Tests asynchronous call stacks for async functions. 144 Tests asynchronous call stacks for async functions.
146 </p> 145 </p>
147 146
148 </body> 147 </body>
149 </html> 148 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698