Index: test/inspector/debugger/async-step-into-for-promise-expected.txt |
diff --git a/test/inspector/debugger/async-step-into-for-promise-expected.txt b/test/inspector/debugger/async-step-into-for-promise-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..36d286256ba802f99df90ea5b33dcd447e8e3eea |
--- /dev/null |
+++ b/test/inspector/debugger/async-step-into-for-promise-expected.txt |
@@ -0,0 +1,217 @@ |
+Checks Protocol.Debugger.stepIntoAsync() for promises |
+ |
+Running test: testPromiseThen |
+reason: other |
+promiseThen (test.js:17:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThen (test.js:18:14) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+promiseThen (test.js:18:14) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+reason: other |
+foo1 (test.js:8:13) |
+-- Promise.resolve (test.js:18:14)-- |
+promiseThen (test.js:19:2) |
+(anonymous) (expr.js:0:0) |
+executing resume |
+ |
+ |
+Running test: testPromiseThenWithoutAssignment |
+reason: other |
+promiseThenWithoutAssignment (test.js:29:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThenWithoutAssignment (test.js:30:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+promiseThenWithoutAssignment (test.js:30:5) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+reason: other |
+foo1 (test.js:8:13) |
+-- Promise.resolve (test.js:30:5)-- |
+promiseThenWithoutAssignment (test.js:31:2) |
+(anonymous) (expr.js:0:0) |
+executing resume |
+ |
+ |
+Running test: testPromiseAll |
+reason: other |
+promiseAll (test.js:40:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:35) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:19) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:35) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+promiseAll (test.js:41:35) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+reason: other |
+foo1 (test.js:8:13) |
+-- Promise.resolve (test.js:41:35)-- |
+-- Promise.resolve (test.js:41:19)-- |
+promiseAll (test.js:43:2) |
+(anonymous) (expr.js:0:0) |
+executing resume |
+ |
+ |
+Running test: testPromiseAllWithoutAssignment |
+reason: other |
+promiseAllWithoutAssignment (test.js:56:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAllWithoutAssignment (test.js:57:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+promiseAllWithoutAssignment (test.js:57:26) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+reason: other |
+foo1 (test.js:8:13) |
+-- Promise.resolve (test.js:57:26)-- |
+-- Promise.resolve (test.js:57:10)-- |
+promiseAllWithoutAssignment (test.js:59:2) |
+(anonymous) (expr.js:0:0) |
+executing resume |
+ |
+ |
+Running test: switchAsyncOff |
+ |
+Running test: testPromiseThen |
+reason: other |
+promiseThen (test.js:17:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThen (test.js:18:14) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThen (test.js:19:2) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+{ |
+ error : { |
+ code : -32000 |
+ message : No scheduled chained callback |
+ } |
+ id : <messageId> |
+} |
+ |
+Running test: testPromiseThenWithoutAssignment |
+reason: other |
+promiseThenWithoutAssignment (test.js:29:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThenWithoutAssignment (test.js:30:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseThenWithoutAssignment (test.js:31:2) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+{ |
+ error : { |
+ code : -32000 |
+ message : No scheduled chained callback |
+ } |
+ id : <messageId> |
+} |
+ |
+Running test: testPromiseAll |
+reason: other |
+promiseAll (test.js:40:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:35) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:19) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:41:35) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAll (test.js:42:2) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+{ |
+ error : { |
+ code : -32000 |
+ message : No scheduled chained callback |
+ } |
+ id : <messageId> |
+} |
+ |
+Running test: testPromiseAllWithoutAssignment |
+reason: other |
+promiseAllWithoutAssignment (test.js:56:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAllWithoutAssignment (test.js:57:2) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: other |
+promiseAllWithoutAssignment (test.js:58:2) |
+(anonymous) (expr.js:0:0) |
+executing stepIntoAsync |
+ |
+{ |
+ error : { |
+ code : -32000 |
+ message : No scheduled chained callback |
+ } |
+ id : <messageId> |
+} |