<!DOCTYPE html>
<body>
    <p>Test PASSES if it does not CRASH.</p>
    <script>
        var canvas = document.createElement('canvas');
        document.body.appendChild(canvas);
        var ctx = canvas.getContext('2d');
        ctx.fillText(unescape('%udfae%u0fb5%ufc0a'), 0, 0);
        if (window.testRunner)
            testRunner.dumpAsText();
    </script>
</body>
