summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1229983-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/crashtests/1229983-1.html')
-rw-r--r--dom/canvas/crashtests/1229983-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/dom/canvas/crashtests/1229983-1.html b/dom/canvas/crashtests/1229983-1.html
new file mode 100644
index 0000000000..a865c569e4
--- /dev/null
+++ b/dom/canvas/crashtests/1229983-1.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+
+function boom() {
+ var canvas = document.createElement('canvas');
+ var ctx = canvas.getContext('2d');
+ ctx.lineJoin = 'round';
+ ctx.transform(18.5, 41.6, 447, 78.2, 85.75, 120.5);
+ ctx.transform(186.25, 26.142857142857142, 251.5, -562949953421311, 147, 4.625);
+ ctx.rotate(32);
+ ctx.arc(33.8, 1, 183, 141.5, 452.5, 0);
+ ctx.transform(423, 24.75, 78, 12, 180.25, 191.5);
+ ctx.shadowBlur = 31.5;
+ ctx.shadowColor = "blue";
+ ctx.stroke();
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>