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 description('Test Promise.all'); | 10 description('Test Promise.all'); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 window.result = result; | 93 window.result = result; |
94 shouldBe('result.length', '0'); | 94 shouldBe('result.length', '0'); |
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 <script src="resources/js-test-post.js"></script> | |
104 </body> | 103 </body> |
105 </html> | 104 </html> |
OLD | NEW |