| Index: LayoutTests/fast/dom/HTMLScriptElement/append-child-style-crash.html
|
| diff --git a/LayoutTests/fast/dom/HTMLScriptElement/append-child-style-crash.html b/LayoutTests/fast/dom/HTMLScriptElement/append-child-style-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3093bca3eceed661822342596cc30b77db4ff93c
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLScriptElement/append-child-style-crash.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<script>
|
| +function callback() {
|
| + style0.innerHTML = '';
|
| + script0.removeChild(style0);
|
| +}
|
| +
|
| +style0=document.createElement('style');
|
| +style0.innerHTML = 'span { color: blue; }';
|
| +
|
| +script0=document.createElement('script');
|
| +script0.innerHTML = "callback();";
|
| +script0.appendChild(style0);
|
| +document.body.appendChild(script0);
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| + setTimeout(function() {
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| +}
|
| +</script>
|
| +<p>PASS unless carsh</p>
|
| +</body>
|
|
|