Bug 779426 - Crashtest. r=mats, a=test-only
authorJesse Ruderman <jruderman@gmail.com>
Thu, 13 Apr 2017 17:14:00 -0400
changeset 578499 dea90d232813befee3c736800ad140e3b5cdaf9e
parent 578498 1054e9eaa03f6bb35e46956c83e419ae40c649ec
child 578500 6b174b41fa44963901d4f09597bd97f60e8e9076
push id58939
push userbmo:cku@mozilla.com
push dateTue, 16 May 2017 04:17:59 +0000
reviewersmats, test-only
bugs779426
milestone52.1.2
Bug 779426 - Crashtest. r=mats, a=test-only MozReview-Commit-ID: H7FMSmfgTfS
dom/canvas/crashtests/779426.html
dom/canvas/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/canvas/crashtests/779426.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+  var canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas');
+  var canvas2d = canvas.getContext('2d');
+  canvas2d.rect(0, 0, 1, 1);
+  canvas2d.transform(1, 0, 0, 1, 0, 0);
+  canvas.setAttributeNS(null, "height", "99");
+  canvas2d.rect(0, 0, 1, 1);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
--- a/dom/canvas/crashtests/crashtests.list
+++ b/dom/canvas/crashtests/crashtests.list
@@ -6,16 +6,17 @@ load 553938-1.html
 load 647480.html
 load 727547.html
 load 729116.html
 load 745699-1.html
 load 746813-1.html
 load 743499-negative-size.html
 skip-if(Android) load 745818-large-source.html # Bug XXX - Crashes Android mid-run w/o a stack
 load 767337-1.html
+load 779426.html
 skip-if(Android) load 780392-1.html
 skip-if(Android) skip-if(gtkWidget&&isDebugBuild) load 789933-1.html # bug 1155252 for linux
 load 794463-1.html
 load 802926-1.html
 load 896047-1.html
 load 916128-1.html
 load 934939-1.html
 load 1099143-1.html