OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | 3 <script> |
4 var count = 0; | 4 var count = 0; |
5 if (!window.layoutTestController) | 5 if (!window.layoutTestController) |
6 document.write("This test requires GCController."); | 6 document.write("This test requires GCController."); |
7 else { | 7 else { |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 layoutTestController.waitUntilDone(); | 9 layoutTestController.waitUntilDone(); |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 document.write("<title>"); | 22 document.write("<title>"); |
23 document.title = "First Child"; | 23 document.title = "First Child"; |
24 document.getElementsByTagName('title')[0].appendChild(document.createTex
tNode("Second Child")); | 24 document.getElementsByTagName('title')[0].appendChild(document.createTex
tNode("Second Child")); |
25 | 25 |
26 document.addEventListener('DOMNodeRemovedFromDocument', function () { cr
ash(); }, true); | 26 document.addEventListener('DOMNodeRemovedFromDocument', function () { cr
ash(); }, true); |
27 document.title = "New title"; | 27 document.title = "New title"; |
28 }, 0); | 28 }, 0); |
29 } | 29 } |
30 </script> | 30 </script> |
31 </html> | 31 </html> |
OLD | NEW |