summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1712198.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1712198.html')
-rw-r--r--dom/base/crashtests/1712198.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/base/crashtests/1712198.html b/dom/base/crashtests/1712198.html
new file mode 100644
index 0000000000..0778f45f26
--- /dev/null
+++ b/dom/base/crashtests/1712198.html
@@ -0,0 +1,9 @@
+<script>
+document.addEventListener('DOMContentLoaded', () => {
+ let a = document.documentElement
+ SpecialPowers.wrap(self).printPreview().document.adoptNode(a)
+ let b = document.createElementNS('http://www.w3.org/1999/xhtml', 'optgroup')
+ a.appendChild(b)
+ b.focus({ })
+})
+</script>