summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1011218.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/tests/crashtests/1011218.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/1011218.html b/gfx/tests/crashtests/1011218.html
new file mode 100644
index 0000000000..c58892ee51
--- /dev/null
+++ b/gfx/tests/crashtests/1011218.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+function boom()
+{
+ var canvas = document.createElement('canvas');
+ var ctx = canvas.getContext('2d');
+ ctx.setLineDash([-1]);
+ ctx.isPointInStroke(0, 0);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>