OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <div>Test passes if it does not crash.</div> | 2 <div>Test passes if it does not crash.</div> |
3 <script src="../tests.js"></script> | 3 <script src="../tests.js"></script> |
4 <style> | 4 <style> |
5 @font-face { | 5 @font-face { |
6 font-family: CanvasTest; | 6 font-family: CanvasTest; |
7 src: url("does_not_exist.ttf"); | 7 src: url("does_not_exist.ttf"); |
8 } | 8 } |
9 </style> | 9 </style> |
10 <applet> | 10 <applet> |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 setTimeout(wrapFunction(function () { | 25 setTimeout(wrapFunction(function () { |
26 ctx.fillText('AA', 0, 50); | 26 ctx.fillText('AA', 0, 50); |
27 | 27 |
28 if (window.testRunner) | 28 if (window.testRunner) |
29 testRunner.notifyDone(); | 29 testRunner.notifyDone(); |
30 }), 500); | 30 }), 500); |
31 | 31 |
32 }); | 32 }); |
33 </script> | 33 </script> |
OLD | NEW |