| OLD | NEW |
| 1 <script> | 1 <script> |
| 2 if (window.testRunner) | 2 if (window.testRunner) |
| 3 testRunner.dumpAsText(); | 3 testRunner.dumpAsText(); |
| 4 | 4 |
| 5 root = document.createElement("body"); | 5 root = document.createElement("body"); |
| 6 d = document.implementation.createDocument(); | 6 d = document.implementation.createDocument(null, ""); |
| 7 d.adoptNode(root); | 7 d.adoptNode(root); |
| 8 node = document.createElement("title"); | 8 node = document.createElement("title"); |
| 9 root.appendChild(node); | 9 root.appendChild(node); |
| 10 node.setAttribute("style", "zoom:document;") | 10 node.setAttribute("style", "zoom:document;") |
| 11 node.appendChild(node.cloneNode()); | 11 node.appendChild(node.cloneNode()); |
| 12 </script> | 12 </script> |
| 13 <body> | 13 <body> |
| 14 This test passes if it does not crash. | 14 This test passes if it does not crash. |
| 15 </body> | 15 </body> |
| OLD | NEW |