| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 description('This test checks the behavior of DOM operations when called on non-
DOM or incompatible receivers with non-DOM or incompatible arguments.'); | 8 description('This test checks the behavior of DOM operations when called on non-
DOM or incompatible receivers with non-DOM or incompatible arguments.'); |
| 9 | 9 |
| 10 function trySuspect(fun) { | 10 function trySuspect(fun) { |
| 11 try { | 11 try { |
| 12 result = fun(); | 12 result = fun(); |
| 13 return '' + result; | 13 return '' + result; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 43 shouldBeUndefined("aSelect.add(aDOMImplementation, aDOMImplementation)"); | 43 shouldBeUndefined("aSelect.add(aDOMImplementation, aDOMImplementation)"); |
| 44 shouldBeUndefined("aSelect.add(aDOMImplementation, anOption)"); | 44 shouldBeUndefined("aSelect.add(aDOMImplementation, anOption)"); |
| 45 shouldBeUndefined("aSelect.add(anOption, aDOMImplementation)"); | 45 shouldBeUndefined("aSelect.add(anOption, aDOMImplementation)"); |
| 46 shouldBeUndefined("aSelect.add(void 0, void 0)"); | 46 shouldBeUndefined("aSelect.add(void 0, void 0)"); |
| 47 shouldBeUndefined("aSelect.add(void 0, anOption)"); | 47 shouldBeUndefined("aSelect.add(void 0, anOption)"); |
| 48 shouldBeUndefined("aSelect.add(anOption, void 0)"); | 48 shouldBeUndefined("aSelect.add(anOption, void 0)"); |
| 49 </script> | 49 </script> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| 52 | 52 |
| OLD | NEW |