summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1205900.html
blob: 5e1f47cae5912bffe2413bdbb0d7b2defd23d280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>