Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame^] | 1 | Test whether Promise treats thenable correctly. |
2 | |||||
3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||||
4 | |||||
5 | The promise is not rejected now. | ||||
6 | PASS value.then is called. | ||||
7 | PASS thisValue is value | ||||
8 | PASS rejected | ||||
9 | PASS result is "hello" | ||||
10 | PASS successfullyParsed is true | ||||
11 | |||||
12 | TEST COMPLETE | ||||
13 |