summaryrefslogtreecommitdiff
path: root/dom/canvas/crashtests/779426.html
blob: ded3455b8168f2b23be65d82ddb505bd4c10dc0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>