summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1287515-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/crashtests/1287515-1.html')
-rw-r--r--dom/canvas/crashtests/1287515-1.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/canvas/crashtests/1287515-1.html b/dom/canvas/crashtests/1287515-1.html
new file mode 100644
index 0000000000..37dc8a2a0a
--- /dev/null
+++ b/dom/canvas/crashtests/1287515-1.html
@@ -0,0 +1,7 @@
+<canvas id='i0'></canvas>
+<script>
+var c=document.getElementById('i0').getContext('2d');
+c.lineWidth=Number.MAX_SAFE_INTEGER;
+c.setLineDash([1]);
+c.strokeRect(1,1,0,Number.MIN_SAFE_INTEGER);
+</script>