summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/896047-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/crashtests/896047-1.html')
-rw-r--r--dom/canvas/crashtests/896047-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/canvas/crashtests/896047-1.html b/dom/canvas/crashtests/896047-1.html
new file mode 100644
index 0000000000..2b121b2279
--- /dev/null
+++ b/dom/canvas/crashtests/896047-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<body>
+<canvas id="c" width="200" height="100">
+</canvas>
+<script>
+var ctx = document.getElementById("c").getContext("2d");
+ctx.save();
+ctx.save();
+ctx.rect(0,0, 1,1);
+ctx.restore();
+ctx.fill('evenodd');
+ctx.restore();
+ctx.lineTo(10, 0);
+</script>
+</body>
+</html>