| Index: LayoutTests/fast/css/style-scoped/style-scoped-shadow-crash.html
|
| diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-shadow-crash.html b/LayoutTests/fast/css/style-scoped/style-scoped-shadow-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fd74b8e1f4caf640664d8b119f065067040407ec
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/style-scoped/style-scoped-shadow-crash.html
|
| @@ -0,0 +1,28 @@
|
| +<div id=div1>
|
| + <style scoped></style>
|
| +</div>
|
| +<div id=div2></div>
|
| +
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +(function() {
|
| + var div1 = document.getElementById("div1");
|
| + div2Shadow = div2.createShadowRoot();
|
| + div2Shadow.appendChild(div1);
|
| + div1.parentNode.removeChild(div1);
|
| +})();
|
| +
|
| +gc();
|
| +
|
| +setTimeout(function() {
|
| + document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "font-face"));
|
| + console.log("PASS unless crash");
|
| + window.testRunner.notifyDone();
|
| +}, 0);
|
| +
|
| +</script>
|
| +
|
|
|