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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 testPassed('fulfilled'); | 43 testPassed('fulfilled'); |
44 shouldBeEqualToString('result', 'hello'); | 44 shouldBeEqualToString('result', 'hello'); |
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 <script src="resources/js-test-post.js"></script> | |
54 </body> | 53 </body> |
55 </html> | 54 </html> |
OLD | NEW |