2 <div>Test passes if it does not crash.</div>
3 <script src="../tests.js"></script>
6 font-family: CanvasTest;
7 src: url("does_not_exist.ttf");
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 _addTest(function(canvas, ctx) {
20 ctx.fillRect(0, 0, 100, 50);
21 ctx.font = '1px CanvasTest';
22 ctx.fillText('AA', 0, 50);
25 setTimeout(wrapFunction(function () {
26 ctx.fillText('AA', 0, 50);
28 if (window.testRunner)
29 testRunner.notifyDone();