Bug 1190705 - Add crashtest for canvas 2d. r=Bas
authorLee Salzman <lsalzman@mozilla.com>
Wed, 05 Aug 2015 21:17:14 -0400
changeset 259099 da1c20faa1d3f78101b6bddfca9486296a4117b4
parent 259098 97de68014b7a03584a74c15441c5c4ab9998ddb9
child 259100 ce1bba4455defefd9b58d57917add82837724f72
push id29268
push userryanvm@gmail.com
push dateTue, 25 Aug 2015 00:37:23 +0000
treeherdermozilla-central@08015770c9d6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBas
bugs1190705
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1190705 - Add crashtest for canvas 2d. r=Bas
dom/canvas/crashtests/1190705.html
dom/canvas/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/canvas/crashtests/1190705.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+    var canvas = document.createElement('canvas');
+    var ctx = canvas.getContext('2d');
+    ctx.rotate(1e308);
+    ctx.fillText("A", 1, 1);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
--- a/dom/canvas/crashtests/crashtests.list
+++ b/dom/canvas/crashtests/crashtests.list
@@ -18,8 +18,10 @@ skip-if(Android||B2G) skip-if(gtkWidget&
 load 794463-1.html
 load 802926-1.html
 load 896047-1.html
 load 896047-2.html
 load 916128-1.html
 load 934939-1.html
 load 1099143-1.html
 load 1183363.html
+load 1190705.html
+