| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.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) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 shouldBe("aNode.lookupPrefix(aDOMImplementation)", "null"); | 40 shouldBe("aNode.lookupPrefix(aDOMImplementation)", "null"); |
| 41 shouldBe("aNode.lookupPrefix(void 0)", "null"); | 41 shouldBe("aNode.lookupPrefix(void 0)", "null"); |
| 42 shouldBeTrue("aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement"); | 42 shouldBeTrue("aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement"); |
| 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 <script src="../js/resources/js-test-post.js"></script> | |
| 51 </body> | 50 </body> |
| 52 </html> | 51 </html> |
| 53 | 52 |
| OLD | NEW |