summaryrefslogtreecommitdiffstats
path: root/dom/events/crashtests/1856737.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/crashtests/1856737.html')
-rw-r--r--dom/events/crashtests/1856737.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/events/crashtests/1856737.html b/dom/events/crashtests/1856737.html
new file mode 100644
index 0000000000..76ef9f4765
--- /dev/null
+++ b/dom/events/crashtests/1856737.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<script>
+let container = document.documentElement;
+for(let i = 0; i < 256; i++) {
+ let div = document.createElement("div");
+ container.appendChild(div);
+ container = div;
+}
+
+let input = document.createElement("input");
+input.type = "radio";
+container.appendChild(input);
+
+let evt = new MouseEvent("click", {
+ bubbles: true,
+ cancelable: true,
+});
+input.dispatchEvent(evt);
+</script>