Index: LayoutTests/inspector/debugger/async-callstack-promises-expected.txt |
diff --git a/LayoutTests/inspector/debugger/async-callstack-promises-expected.txt b/LayoutTests/inspector/debugger/async-callstack-promises-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1fda600a8c22985a51ef52c4a8ddd5efaa7d12dd |
--- /dev/null |
+++ b/LayoutTests/inspector/debugger/async-callstack-promises-expected.txt |
@@ -0,0 +1,177 @@ |
+Tests asynchronous call stacks for Promises. |
+ |
+Debugger was enabled. |
+Set timer for test function. |
+Captured call stacks in no particular order: |
+Call stack: |
+ 0) afterJSONStringifyAndParse (async-callstack-promises.html:97) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestChainedPromises (async-callstack-promises.html:93) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) catchCallback (async-callstack-promises.html:118) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained1 (async-callstack-promises.html:110) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestThrowFromChain (async-callstack-promises.html:109) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ |
+Call stack: |
+ 0) catchCallback (async-callstack-promises.html:130) |
+ [Promise.reject] |
+ 0) rejectPromise (async-callstack-promises.html:16) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:19) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained3 (async-callstack-promises.html:126) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained2 (async-callstack-promises.html:124) |
+ |
+Call stack: |
+ 0) chained1 (async-callstack-promises.html:80) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestChainedPromises (async-callstack-promises.html:79) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) chained2 (async-callstack-promises.html:83) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained1 (async-callstack-promises.html:81) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestChainedPromises (async-callstack-promises.html:79) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ |
+Call stack: |
+ 0) chained3 (async-callstack-promises.html:86) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained1 (async-callstack-promises.html:81) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestChainedPromises (async-callstack-promises.html:79) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ |
+Call stack: |
+ 0) chained4 (async-callstack-promises.html:89) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained1 (async-callstack-promises.html:81) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) doTestChainedPromises (async-callstack-promises.html:79) |
+ 3) testFunctionTimeout (async-callstack-promises.html:50) |
+ |
+Call stack: |
+ 0) errorCallback (async-callstack-promises.html:60) |
+ [Promise.reject] |
+ 0) doTestPromiseResolveAndReject (async-callstack-promises.html:137) |
+ 1) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) errorCallback (async-callstack-promises.html:60) |
+ [Promise.reject] |
+ 0) doTestSettledPromises (async-callstack-promises.html:74) |
+ 1) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) promiseCallback (async-callstack-promises.html:67) |
+ 1) doTestPromiseConstructor (async-callstack-promises.html:65) |
+ 2) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) thenCallback (async-callstack-promises.html:55) |
+ [Promise.resolve] |
+ 0) doTestPromiseResolveAndReject (async-callstack-promises.html:136) |
+ 1) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) thenCallback (async-callstack-promises.html:55) |
+ [Promise.resolve] |
+ 0) doTestSettledPromises (async-callstack-promises.html:73) |
+ 1) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Call stack: |
+ 0) thenCallback (async-callstack-promises.html:55) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained4 (async-callstack-promises.html:90) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) chained1 (async-callstack-promises.html:81) |
+ |
+Call stack: |
+ 0) thenCallback (async-callstack-promises.html:55) |
+ [Promise.resolve] |
+ 0) resolvePromise (async-callstack-promises.html:12) |
+ [setTimeout] |
+ 0) promiseCallback (async-callstack-promises.html:21) |
+ 1) timeoutPromise (async-callstack-promises.html:9) |
+ 2) map ((internal script):(line number)) |
+ 3) doTestPromiseAll (async-callstack-promises.html:103) |
+ 4) testFunctionTimeout (async-callstack-promises.html:50) |
+ [setTimeout] |
+ 0) testFunction (async-callstack-promises.html:43) |
+ |
+Debugger was disabled. |
+ |