summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1836824.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1836824.html')
-rw-r--r--dom/base/crashtests/1836824.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/base/crashtests/1836824.html b/dom/base/crashtests/1836824.html
new file mode 100644
index 0000000000..39a507771c
--- /dev/null
+++ b/dom/base/crashtests/1836824.html
@@ -0,0 +1,9 @@
+<script>
+document.addEventListener("DOMContentLoaded", () => {
+ const a = document.createElement("canvas")
+ document.body.appendChild(a);
+ a.captureStream(18.89);
+ a.getContext("2d");
+ document.body.removeChild(a);
+})
+</script>