mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-20 17:20:54 +00:00
Bug 1183363 - Add canvas crashtest. r=Bas
CLOSED TREE
This commit is contained in:
parent
08328b1608
commit
782bc48c93
23
dom/canvas/crashtests/1183363.html
Normal file
23
dom/canvas/crashtests/1183363.html
Normal file
@ -0,0 +1,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>
|
@ -22,3 +22,4 @@ load 896047-2.html
|
||||
load 916128-1.html
|
||||
load 934939-1.html
|
||||
load 1099143-1.html
|
||||
load 1183363.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user