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 description('Test Promise.all'); | 10 description('Test Promise.all'); |
11 | 11 |
12 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
13 result = undefined; | 13 result = undefined; |
14 | 14 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 }, function(result) { | 95 }, function(result) { |
96 testFailed('Promise.all({}) is rejected.'); | 96 testFailed('Promise.all({}) is rejected.'); |
97 }); | 97 }); |
98 }).then(finishJSTest, finishJSTest); | 98 }).then(finishJSTest, finishJSTest); |
99 | 99 |
100 shouldBe('result', 'undefined'); | 100 shouldBe('result', 'undefined'); |
101 | 101 |
102 </script> | 102 </script> |
103 </body> | 103 </body> |
104 </html> | 104 </html> |
OLD | NEW |