| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 if (window.layoutTestController) | 4 if (window.layoutTestController) |
| 5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
| 6 | 6 |
| 7 handler = function() | 7 handler = function() |
| 8 { | 8 { |
| 9 this.removeEventListener("DOMNodeRemoved", handler, false); | 9 this.removeEventListener("DOMNodeRemoved", handler, false); |
| 10 doc.adoptNode(this.parentElement); | 10 doc.adoptNode(this.parentElement); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 try { | 45 try { |
| 46 doc.body.replaceChild(element3, dummy); | 46 doc.body.replaceChild(element3, dummy); |
| 47 } catch (e) { } | 47 } catch (e) { } |
| 48 if (element3.ownerDocument != element3.parentElement.ownerDocument) | 48 if (element3.ownerDocument != element3.parentElement.ownerDocument) |
| 49 return showFailure("replaceChild"); | 49 return showFailure("replaceChild"); |
| 50 } | 50 } |
| 51 </script> | 51 </script> |
| 52 </head> | 52 </head> |
| 53 <body>SUCCESS</body> | 53 <body>SUCCESS</body> |
| 54 </html> | 54 </html> |
| OLD | NEW |