summaryrefslogtreecommitdiffstats
path: root/dom/file/tests/crashtests/1562891.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/file/tests/crashtests/1562891.html')
-rw-r--r--dom/file/tests/crashtests/1562891.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/file/tests/crashtests/1562891.html b/dom/file/tests/crashtests/1562891.html
new file mode 100644
index 0000000000..fff7606a8a
--- /dev/null
+++ b/dom/file/tests/crashtests/1562891.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+ <script>
+ function start () {
+ const canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas')
+ SpecialPowers.forceGC();
+ canvas.toBlob(function (blob) {
+ blob.stream()
+ blob.arrayBuffer().then(() => {})
+ })
+ }
+
+ window.addEventListener('load', start)
+ </script>
+</head>
+</html>