summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1549853.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/crashtests/1549853.html')
-rw-r--r--dom/canvas/crashtests/1549853.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/canvas/crashtests/1549853.html b/dom/canvas/crashtests/1549853.html
new file mode 100644
index 0000000000..532430e386
--- /dev/null
+++ b/dom/canvas/crashtests/1549853.html
@@ -0,0 +1,8 @@
+<canvas id='a' height='67108864' width='80'></canvas>
+<script>
+document.addEventListener("DOMContentLoaded", function() {
+ var c=document.getElementById('a')
+ var x=c.getContext('2d', {alpha: true})
+ c.setAttribute('width', 800)
+})
+</script>