<html>
PASS!
<script>
if (window.testRunner)
    window.testRunner.dumpAsText();

var canvas = document.createElement("canvas");
var ctx = canvas.getContext("2d");
ctx.getImageData(100.5, 2147483647.5, -2048.5, -2048.5);
</script>
</html>
