summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/1724816.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/1724816.html')
-rw-r--r--dom/html/crashtests/1724816.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/html/crashtests/1724816.html b/dom/html/crashtests/1724816.html
new file mode 100644
index 0000000000..9264a5225f
--- /dev/null
+++ b/dom/html/crashtests/1724816.html
@@ -0,0 +1,14 @@
+<script>
+window.onload = () => {
+ window[0].focus()
+ a.close()
+ a.showModal()
+ document.execCommand("selectAll", false)
+}
+function go() {
+ document.onselectstart = document.createElement("frameset").onload
+}
+</script>
+<details open="true" ontoggle="go()">a</details>
+<iframe></iframe>
+<dialog id="a" tabindex="3">a</dialog>