summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/crash/file_616401.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/test/crash/file_616401.html')
-rw-r--r--dom/canvas/test/crash/file_616401.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/canvas/test/crash/file_616401.html b/dom/canvas/test/crash/file_616401.html
new file mode 100644
index 0000000000..eb5a0bcf4c
--- /dev/null
+++ b/dom/canvas/test/crash/file_616401.html
@@ -0,0 +1,8 @@
+<!doctype html>
+<script>
+var c = document.createElement("canvas");
+c.getContext("experimental-webgl", {
+ get a() { throw 7; },
+ get b() { throw 8; }
+});
+</script>