OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="resources/js-test-pre.js"></script> |
| 5 </head> |
| 6 <body> |
| 7 <div id="description"></div> |
| 8 <div id="console"></div> |
| 9 <script> |
| 10 if (window.testRunner) |
| 11 testRunner.dumpAsText(); |
| 12 Array.prototype.concat = function(a) { return a; } |
| 13 description('Test Promise.'); |
| 14 |
| 15 shouldBe('Promise.concat([1, 2, 3], [4, 5, 6])', '[1, 2, 3, 4, 5, 6]'); |
| 16 |
| 17 </script> |
| 18 <script src="resources/js-test-post.js"></script> |
| 19 </body> |
| 20 </html> |
OLD | NEW |