blob: 62091274f0afb0217fc25f3d0be5d17fb23e6b1c [file] [log] [blame]
<!DOCTYPE html>
<title>Canvas test: This test passes if it doesn't crash.'</title>
<body>
<a id="a"></a>
<canvas id="c" class="output" width="100" height="50"></canvas>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function canvastest()
{
var ctx = document.getCSSCanvasContext("2d", "canvastest", 13951, 11138);
ctx.putImageData(ctx.getImageData(1431655766, document.getElementById("a").appendChild(document.createElement("media")).clientWidth, 4096, -1024), 128, -65535, 127, -2147483648, 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111, -1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111);
}
canvastest();
var result = document.getElementById("a");
result.innerHTML = "PASSED";
</script>
</body>