summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1229972.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/tests/crashtests/1229972.html')
-rw-r--r--gfx/tests/crashtests/1229972.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/1229972.html b/gfx/tests/crashtests/1229972.html
new file mode 100644
index 0000000000..5d0818b4db
--- /dev/null
+++ b/gfx/tests/crashtests/1229972.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.scale(2, 0);
+ ctx.fillText("AB", 0, 0, 1);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>