| 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 <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'); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 shouldBe('Number.prototype.toPrecision.length', '1'); | 36 shouldBe('Number.prototype.toPrecision.length', '1'); |
| 37 shouldBe('Math.max.length', '2'); | 37 shouldBe('Math.max.length', '2'); |
| 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 <script src="resources/js-test-post.js"></script> | |
| 47 </body> | 46 </body> |
| 48 </html> | 47 </html> |
| OLD | NEW |