Bug 1205900: Automated test. r=me
authorMilan Sreckovic <milan@mozilla.com>
Thu, 01 Sep 2016 16:40:21 -0400
changeset 312356 a66c6f541031b0922d54425354d507142d02812e
parent 312355 146e402be57e5c6fb052e0c1e2e7f781a4b4345e
child 312357 bef3532d2dc5666785738ecd089363a84989ef40
push id20447
push userkwierso@gmail.com
push dateFri, 02 Sep 2016 20:36:44 +0000
treeherderfx-team@969397f22187 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1205900
milestone51.0a1
Bug 1205900: Automated test. r=me
gfx/tests/crashtests/1205900.html
gfx/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/gfx/tests/crashtests/1205900.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+
+<body>
+<canvas id="canvas0"></canvas>
+
+<script>
+  var canvas0=document.getElementById("canvas0");
+  var ctx=canvas0.getContext("2d");
+  canvas0.addEventListener("DOMAttrModified",
+                                           function(event) {
+                                             canvas0.toBlob(function(){},"image/jpeg",1);
+                                           }, true); 
+  canvas0.setAttribute("height",470)
+</script>
+
+</body>
+</html>
--- a/gfx/tests/crashtests/crashtests.list
+++ b/gfx/tests/crashtests/crashtests.list
@@ -120,12 +120,13 @@ load 893572-1.html
 load 893572-2.html
 load 893572-3.html
 load 893572-4.html
 pref(layers.force-active,true) load 914457-1.html
 load 944579.svg
 load 944579.html
 pref(security.fileuri.strict_origin_policy,false) load 950000.html
 load 1034403-1.html
+load 1205900.html
 load 1134549-1.svg
 load balinese-letter-spacing.html
 load 1216832-1.html
 load 1225125-1.html