| 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-pre.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; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 testFailed('fulfilled'); | 49 testFailed('fulfilled'); |
| 50 }, function () { | 50 }, function () { |
| 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 <script src="resources/js-test-post.js"></script> | |
| 60 </body> | 59 </body> |
| 61 </html> | 60 </html> |
| OLD | NEW |