OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="description"></div> | 7 <div id="description"></div> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 window.jsTestIsAsync = true; | 10 window.jsTestIsAsync = true; |
11 | 11 |
12 description('Test Promise.'); | 12 description('Test Promise.'); |
13 | 13 |
14 var thisInOnFulfilledSloppy; | 14 var thisInOnFulfilledSloppy; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 'use strict'; | 51 'use strict'; |
52 testPassed('rejected'); | 52 testPassed('rejected'); |
53 window.thisInOnRejectedStrict = this; | 53 window.thisInOnRejectedStrict = this; |
54 shouldBe('thisInOnRejectedStrict', 'undefined'); | 54 shouldBe('thisInOnRejectedStrict', 'undefined'); |
55 }); | 55 }); |
56 }).then(finishJSTest, finishJSTest); | 56 }).then(finishJSTest, finishJSTest); |
57 | 57 |
58 </script> | 58 </script> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |