OLD | NEW |
| (Empty) |
1 <div id=div1> | |
2 <style scoped></style> | |
3 </div> | |
4 <div id=div2></div> | |
5 | |
6 <script> | |
7 if (window.testRunner) { | |
8 testRunner.dumpAsText(); | |
9 testRunner.waitUntilDone(); | |
10 } | |
11 | |
12 (function() { | |
13 var div1 = document.getElementById("div1"); | |
14 div2Shadow = div2.createShadowRoot(); | |
15 div2Shadow.appendChild(div1); | |
16 div1.parentNode.removeChild(div1); | |
17 })(); | |
18 | |
19 gc(); | |
20 | |
21 setTimeout(function() { | |
22 document.body.appendChild(document.createElementNS("http://www.w3.org/2000/s
vg", "font-face")); | |
23 console.log("PASS unless crash"); | |
24 window.testRunner.notifyDone(); | |
25 }, 0); | |
26 | |
27 </script> | |
28 | |
OLD | NEW |