summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html')
-rw-r--r--testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html b/testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html
new file mode 100644
index 0000000000..cbd7a1e6a5
--- /dev/null
+++ b/testing/web-platform/tests/dom/nodes/Node-cloneNode-on-inactive-document-crash.html
@@ -0,0 +1,6 @@
+<iframe id="i"></iframe>
+<script>
+var doc = i.contentDocument;
+i.remove();
+doc.cloneNode();
+</script>