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..532a0e69b60f66a9ec79a6567934e4e5fa99a546 |
--- /dev/null |
+++ b/test/inspector/debugger/async-step-into-for-promise-expected.txt |
@@ -0,0 +1,237 @@ |
+Checks Protocol.Debugger.stepIntoAsync() for promises |
+ |
+Running test: testPromiseThen |
kozy
2017/01/27 20:54:58
function promiseThen() {
var resolve1;
var p1
Yang
2017/01/30 20:04:32
I think this is expected. The reason is that we br
|
+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 |
kozy
2017/01/27 20:54:58
function promiseThenWithoutAssignment() {
var ne
Yang
2017/01/30 20:04:32
Let's not skip. We are stopping before the stateme
|
+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 |
kozy
2017/01/27 20:54:58
This test case highlight one more issue.
function
Yang
2017/01/30 20:04:32
These issues seem to be unrelated to async steppin
|
+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: callbackScheduled |
+promiseAll (test.js:41:19) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+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 |
kozy
2017/01/27 20:54:58
function promiseAllWithoutAssignment() {
var nex
|
+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:10) |
+(anonymous) (expr.js:0:0) |
+executing stepInto |
+ |
+reason: callbackScheduled |
+promiseAllWithoutAssignment (test.js:57:10) |
+(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 |
kozy
2017/01/27 20:54:58
FYI: following test expectations show current step
|
+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> |
+} |