<p>Regression test for crbug.com/503422. Test passes by not crashing.</p>
<canvas id=mycanvas width=400 height=400</script>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
}
var canvas = document.getElementById('mycanvas');
var ctx = canvas.getContext('2d');
ctx.ellipse(80, 0, 10, 4294967277, Math.PI / -84, -Math.PI / 2147483436, false);
</script>