OLD | NEW |
| 1 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 2 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 3 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 4 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 5 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 6 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 7 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 8 CONSOLE WARNING: Promise API is changing and this function might be affected. |
| 9 CONSOLE WARNING: Promise API is changing and this function might be affected. |
1 Test Promise.race | 10 Test Promise.race |
2 | 11 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 12 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 13 |
5 PASS result is undefined | 14 PASS result is undefined |
6 PASS Promise.race([p4, p1, p6]) is fulfilled. | 15 PASS Promise.race([p4, p1, p6]) is fulfilled. |
7 PASS result is "p1" | 16 PASS result is "p1" |
8 PASS Promise.race([p4, p6, p1]) is rejected. | 17 PASS Promise.race([p4, p6, p1]) is rejected. |
9 PASS result is "p6" | 18 PASS result is "p6" |
10 PASS Promise.race([p9]) is fulfilled. | 19 PASS Promise.race([p9]) is fulfilled. |
11 PASS result is "p2" | 20 PASS result is "p2" |
12 PASS Promise.race([p4,,]) is fulfilled. | 21 PASS Promise.race([p4,,]) is fulfilled. |
13 PASS result is undefined | 22 PASS result is undefined |
14 PASS Promise.race([p4,42]) is fulfilled. | 23 PASS Promise.race([p4,42]) is fulfilled. |
15 PASS result is 42 | 24 PASS result is 42 |
16 PASS successfullyParsed is true | 25 PASS successfullyParsed is true |
17 | 26 |
18 TEST COMPLETE | 27 TEST COMPLETE |
19 | 28 |
OLD | NEW |