summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1183363.html
blob: 2044a80928a5dda9ed4b763f27ef5edb4f471597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
    var ctx = canvas.getContext('2d');
    ctx.rect(2, 6, 9, 8);
    ctx.setTransform(1, 2, 3, 0, 4, 1);
    setTimeout(function() {
        ctx.moveTo(0, 1);
        ctx.isPointInPath(0, 0, 'evenodd');
    }, 0);
}

</script>
</head>

<body onload="boom();">
<canvas id="canvas"></canvas>
</body>
</html>