| 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 thisInInit; | 14 var thisInInit; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 45 finishJSTest(); | 45 finishJSTest(); |
| 46 }, function(result) { | 46 }, function(result) { |
| 47 window.result = result; | 47 window.result = result; |
| 48 testFailed('rejected'); | 48 testFailed('rejected'); |
| 49 finishJSTest(); | 49 finishJSTest(); |
| 50 }); | 50 }); |
| 51 | 51 |
| 52 </script> | 52 </script> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |