| 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 <script> | 7 <script> |
| 8 description("This tests the length property of functions."); | 8 description("This tests the length property of functions."); |
| 9 | 9 |
| 10 shouldBe('window.confirm.length', '0'); | 10 shouldBe('window.confirm.length', '0'); |
| 11 shouldBe('window.open.length', '2'); | 11 shouldBe('window.open.length', '2'); |
| 12 shouldBe('window.showModalDialog.length', '1'); | 12 shouldBe('window.showModalDialog.length', '1'); |
| 13 shouldBe('window.setTimeout.length', '1'); | 13 shouldBe('window.setTimeout.length', '1'); |
| 14 shouldBe('window.clearTimeout.length', '0'); | 14 shouldBe('window.clearTimeout.length', '0'); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 38 shouldBe('Math.min.length', '2'); | 38 shouldBe('Math.min.length', '2'); |
| 39 shouldBe('Function.prototype.apply.length', '2'); | 39 shouldBe('Function.prototype.apply.length', '2'); |
| 40 shouldBe('Function.prototype.call.length', '1'); | 40 shouldBe('Function.prototype.call.length', '1'); |
| 41 shouldBe('String.prototype.split.length', '2'); | 41 shouldBe('String.prototype.split.length', '2'); |
| 42 shouldBe('String.prototype.substring.length', '2'); | 42 shouldBe('String.prototype.substring.length', '2'); |
| 43 | 43 |
| 44 | 44 |
| 45 </script> | 45 </script> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |