summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/746849.html
blob: 0544564706c0b9459bdf9e3e90909b9bd57fe0d3 (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>
<script>

function boom()
{
  var ctx = document.querySelector("canvas").getContext('2d');
  ctx.rect(1, 2, 3, 4);
  ctx.fill();
  for (var i = 0; i < 48; ++i) {
    ctx.scale(100, 100); 
  }
  ctx.isPointInPath(5, 6);
}

</script>
</head>
<body onload="boom();"><canvas width="100" height="100"></canvas></body>
</html>