summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/crashtests/1813284-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/indexedDB/crashtests/1813284-1.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/indexedDB/crashtests/1813284-1.html b/dom/indexedDB/crashtests/1813284-1.html
new file mode 100644
index 0000000000..fd1d8987bc
--- /dev/null
+++ b/dom/indexedDB/crashtests/1813284-1.html
@@ -0,0 +1,6 @@
+<script>
+ // This test allocates >= 4GB of memory even if it succeeds.
+ let a = new ArrayBuffer(4294967296)
+ let b = new Uint32Array(a)
+ self.indexedDB.cmp(b, undefined)
+</script>