<div id=div>This test passes if it doesn't crash</div>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
var canvas = document.createElement('canvas');
canvas.height = 16385;
canvas.width = 16385;
if (window.internals)
    internals.avoidIOSurfaceSizeCheckInWebProcess(canvas);
var context = canvas.getContext("2d");
context.fillRect(0,0,canvas.width, canvas.height);
</script>
