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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-async/async-await/async-callstack-async-await1.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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 let value = await settledPromise(new Error("rejected")); 89 let value = await settledPromise(new Error("rejected"));
90 thenCallback(value); 90 thenCallback(value);
91 } catch (e) { 91 } catch (e) {
92 errorCallback(e); 92 errorCallback(e);
93 } 93 }
94 } 94 }
95 95
96 var test = function() 96 var test = function()
97 { 97 {
98 var totalDebuggerStatements = 4; 98 var totalDebuggerStatements = 4;
99 var maxAsyncCallStackDepth = 5; 99 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements);
100 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt ackDepth);
101 } 100 }
102 101
103 </script> 102 </script>
104 </head> 103 </head>
105 104
106 <body onload="runTest()"> 105 <body onload="runTest()">
107 <p> 106 <p>
108 Tests asynchronous call stacks for async functions. 107 Tests asynchronous call stacks for async functions.
109 </p> 108 </p>
110 109
111 </body> 110 </body>
112 </html> 111 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698