| Index: LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
|
| diff --git a/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..212d9e9a876f312a9a619802bd7c27f00fe6fd7c
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLScriptElement/append-child-adopt-node-crash.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<iframe src=resources/append-child-adopt-node-frame.html></iframe>
|
| +<iframe src=resources/append-child-adopt-node-frame.svg></iframe>
|
| +<script>
|
| +testRunner.waitUntilDone();
|
| +testRunner.dumpAsText();
|
| +
|
| +var count = document.querySelectorAll("iframe").length;
|
| +
|
| +function done() {
|
| + count--;
|
| + if (count)
|
| + return;
|
| + // Don't use js-test.js because this bug is about <script> loading and
|
| + // it makes sense to keep this small and easy to debug when regress.
|
| + console.log("PASS unless crash.");
|
| + testRunner.notifyDone();
|
| +}
|
| +</script>
|
|
|