Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Checks Protocol.Debugger.stepIntoAsync() for promises | |
| 2 | |
| 3 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
| |
| 4 reason: other | |
| 5 promiseThen (test.js:17:2) | |
| 6 (anonymous) (expr.js:0:0) | |
| 7 executing stepInto | |
| 8 | |
| 9 reason: other | |
| 10 promiseThen (test.js:18:14) | |
| 11 (anonymous) (expr.js:0:0) | |
| 12 executing stepInto | |
| 13 | |
| 14 reason: callbackScheduled | |
| 15 promiseThen (test.js:18:14) | |
| 16 (anonymous) (expr.js:0:0) | |
| 17 executing stepIntoAsync | |
| 18 | |
| 19 reason: other | |
| 20 foo1 (test.js:8:13) | |
| 21 -- Promise.resolve (test.js:18:14)-- | |
| 22 promiseThen (test.js:19:2) | |
| 23 (anonymous) (expr.js:0:0) | |
| 24 executing resume | |
| 25 | |
| 26 | |
| 27 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
| |
| 28 reason: other | |
| 29 promiseThenWithoutAssignment (test.js:29:2) | |
| 30 (anonymous) (expr.js:0:0) | |
| 31 executing stepInto | |
| 32 | |
| 33 reason: other | |
| 34 promiseThenWithoutAssignment (test.js:30:2) | |
| 35 (anonymous) (expr.js:0:0) | |
| 36 executing stepInto | |
| 37 | |
| 38 reason: callbackScheduled | |
| 39 promiseThenWithoutAssignment (test.js:30:5) | |
| 40 (anonymous) (expr.js:0:0) | |
| 41 executing stepIntoAsync | |
| 42 | |
| 43 reason: other | |
| 44 foo1 (test.js:8:13) | |
| 45 -- Promise.resolve (test.js:30:5)-- | |
| 46 promiseThenWithoutAssignment (test.js:31:2) | |
| 47 (anonymous) (expr.js:0:0) | |
| 48 executing resume | |
| 49 | |
| 50 | |
| 51 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
| |
| 52 reason: other | |
| 53 promiseAll (test.js:40:2) | |
| 54 (anonymous) (expr.js:0:0) | |
| 55 executing stepInto | |
| 56 | |
| 57 reason: other | |
| 58 promiseAll (test.js:41:35) | |
| 59 (anonymous) (expr.js:0:0) | |
| 60 executing stepInto | |
| 61 | |
| 62 reason: other | |
| 63 promiseAll (test.js:41:19) | |
| 64 (anonymous) (expr.js:0:0) | |
| 65 executing stepInto | |
| 66 | |
| 67 reason: callbackScheduled | |
| 68 promiseAll (test.js:41:19) | |
| 69 (anonymous) (expr.js:0:0) | |
| 70 executing stepInto | |
| 71 | |
| 72 reason: callbackScheduled | |
| 73 promiseAll (test.js:41:19) | |
| 74 (anonymous) (expr.js:0:0) | |
| 75 executing stepInto | |
| 76 | |
| 77 reason: other | |
| 78 promiseAll (test.js:41:35) | |
| 79 (anonymous) (expr.js:0:0) | |
| 80 executing stepInto | |
| 81 | |
| 82 reason: callbackScheduled | |
| 83 promiseAll (test.js:41:35) | |
| 84 (anonymous) (expr.js:0:0) | |
| 85 executing stepIntoAsync | |
| 86 | |
| 87 reason: other | |
| 88 foo1 (test.js:8:13) | |
| 89 -- Promise.resolve (test.js:41:35)-- | |
| 90 -- Promise.resolve (test.js:41:19)-- | |
| 91 promiseAll (test.js:43:2) | |
| 92 (anonymous) (expr.js:0:0) | |
| 93 executing resume | |
| 94 | |
| 95 | |
| 96 Running test: testPromiseAllWithoutAssignment | |
|
kozy
2017/01/27 20:54:58
function promiseAllWithoutAssignment() {
var nex
| |
| 97 reason: other | |
| 98 promiseAllWithoutAssignment (test.js:56:2) | |
| 99 (anonymous) (expr.js:0:0) | |
| 100 executing stepInto | |
| 101 | |
| 102 reason: other | |
| 103 promiseAllWithoutAssignment (test.js:57:2) | |
| 104 (anonymous) (expr.js:0:0) | |
| 105 executing stepInto | |
| 106 | |
| 107 reason: callbackScheduled | |
| 108 promiseAllWithoutAssignment (test.js:57:10) | |
| 109 (anonymous) (expr.js:0:0) | |
| 110 executing stepInto | |
| 111 | |
| 112 reason: callbackScheduled | |
| 113 promiseAllWithoutAssignment (test.js:57:10) | |
| 114 (anonymous) (expr.js:0:0) | |
| 115 executing stepInto | |
| 116 | |
| 117 reason: callbackScheduled | |
| 118 promiseAllWithoutAssignment (test.js:57:26) | |
| 119 (anonymous) (expr.js:0:0) | |
| 120 executing stepIntoAsync | |
| 121 | |
| 122 reason: other | |
| 123 foo1 (test.js:8:13) | |
| 124 -- Promise.resolve (test.js:57:26)-- | |
| 125 -- Promise.resolve (test.js:57:10)-- | |
| 126 promiseAllWithoutAssignment (test.js:59:2) | |
| 127 (anonymous) (expr.js:0:0) | |
| 128 executing resume | |
| 129 | |
| 130 | |
| 131 Running test: switchAsyncOff | |
| 132 | |
| 133 Running test: testPromiseThen | |
|
kozy
2017/01/27 20:54:58
FYI: following test expectations show current step
| |
| 134 reason: other | |
| 135 promiseThen (test.js:17:2) | |
| 136 (anonymous) (expr.js:0:0) | |
| 137 executing stepInto | |
| 138 | |
| 139 reason: other | |
| 140 promiseThen (test.js:18:14) | |
| 141 (anonymous) (expr.js:0:0) | |
| 142 executing stepInto | |
| 143 | |
| 144 reason: other | |
| 145 promiseThen (test.js:19:2) | |
| 146 (anonymous) (expr.js:0:0) | |
| 147 executing stepIntoAsync | |
| 148 | |
| 149 { | |
| 150 error : { | |
| 151 code : -32000 | |
| 152 message : No scheduled chained callback | |
| 153 } | |
| 154 id : <messageId> | |
| 155 } | |
| 156 | |
| 157 Running test: testPromiseThenWithoutAssignment | |
| 158 reason: other | |
| 159 promiseThenWithoutAssignment (test.js:29:2) | |
| 160 (anonymous) (expr.js:0:0) | |
| 161 executing stepInto | |
| 162 | |
| 163 reason: other | |
| 164 promiseThenWithoutAssignment (test.js:30:2) | |
| 165 (anonymous) (expr.js:0:0) | |
| 166 executing stepInto | |
| 167 | |
| 168 reason: other | |
| 169 promiseThenWithoutAssignment (test.js:31:2) | |
| 170 (anonymous) (expr.js:0:0) | |
| 171 executing stepIntoAsync | |
| 172 | |
| 173 { | |
| 174 error : { | |
| 175 code : -32000 | |
| 176 message : No scheduled chained callback | |
| 177 } | |
| 178 id : <messageId> | |
| 179 } | |
| 180 | |
| 181 Running test: testPromiseAll | |
| 182 reason: other | |
| 183 promiseAll (test.js:40:2) | |
| 184 (anonymous) (expr.js:0:0) | |
| 185 executing stepInto | |
| 186 | |
| 187 reason: other | |
| 188 promiseAll (test.js:41:35) | |
| 189 (anonymous) (expr.js:0:0) | |
| 190 executing stepInto | |
| 191 | |
| 192 reason: other | |
| 193 promiseAll (test.js:41:19) | |
| 194 (anonymous) (expr.js:0:0) | |
| 195 executing stepInto | |
| 196 | |
| 197 reason: other | |
| 198 promiseAll (test.js:41:35) | |
| 199 (anonymous) (expr.js:0:0) | |
| 200 executing stepInto | |
| 201 | |
| 202 reason: other | |
| 203 promiseAll (test.js:42:2) | |
| 204 (anonymous) (expr.js:0:0) | |
| 205 executing stepIntoAsync | |
| 206 | |
| 207 { | |
| 208 error : { | |
| 209 code : -32000 | |
| 210 message : No scheduled chained callback | |
| 211 } | |
| 212 id : <messageId> | |
| 213 } | |
| 214 | |
| 215 Running test: testPromiseAllWithoutAssignment | |
| 216 reason: other | |
| 217 promiseAllWithoutAssignment (test.js:56:2) | |
| 218 (anonymous) (expr.js:0:0) | |
| 219 executing stepInto | |
| 220 | |
| 221 reason: other | |
| 222 promiseAllWithoutAssignment (test.js:57:2) | |
| 223 (anonymous) (expr.js:0:0) | |
| 224 executing stepInto | |
| 225 | |
| 226 reason: other | |
| 227 promiseAllWithoutAssignment (test.js:58:2) | |
| 228 (anonymous) (expr.js:0:0) | |
| 229 executing stepIntoAsync | |
| 230 | |
| 231 { | |
| 232 error : { | |
| 233 code : -32000 | |
| 234 message : No scheduled chained callback | |
| 235 } | |
| 236 id : <messageId> | |
| 237 } | |
| OLD | NEW |