Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLScriptElement / append-child-style-crash.html
blobf1945bdc5fc9e3f3521778f1ef906287b26c6bf8
1 <!DOCTYPE html>
2 <body>
3 <script>
4 function callback() {
5 style0.innerHTML = '';
6 script0.removeChild(style0);
9 style0=document.createElement('style');
10 style0.innerHTML = 'span { color: blue; }';
12 script0=document.createElement('script');
13 script0.innerHTML = "callback();";
14 script0.appendChild(style0);
15 document.body.appendChild(script0);
17 if (window.testRunner)
18 testRunner.dumpAsText();
19 </script>
20 <p>PASS unless crash</p>
21 </body>