OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 <script> | 4 <script> |
5 description("Tests that moving nodes across documents does not crash."); | 5 description("Tests that moving nodes across documents does not crash."); |
6 | 6 |
7 if (window.layoutTestController) { | 7 if (window.layoutTestController) { |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 layoutTestController.waitUntilDone(); | 9 layoutTestController.waitUntilDone(); |
10 } | 10 } |
(...skipping 16 matching lines...) Expand all Loading... |
27 gc(); | 27 gc(); |
28 document.adoptNode(test); | 28 document.adoptNode(test); |
29 if (window.layoutTestController) | 29 if (window.layoutTestController) |
30 layoutTestController.notifyDone(); | 30 layoutTestController.notifyDone(); |
31 } | 31 } |
32 </script> | 32 </script> |
33 <object data="resources/node-move-to-new-document-crash.svg" id="root" onload="r
unTest()"/></object> | 33 <object data="resources/node-move-to-new-document-crash.svg" id="root" onload="r
unTest()"/></object> |
34 <script src="../js/resources/js-test-post.js"></script> | 34 <script src="../js/resources/js-test-post.js"></script> |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |