Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / invalid-set-font-crash.html
blob5bfc9702046d518f16309bd91f3889dd8ef9de05
1 <html>
2 <head>
3 <script type="text/javascript">
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function init()
9 var ctx = document.getElementById("canvas").getContext("2d");
10 ctx.font = "font-family: Helvetica; font-size: 48pt; font-color: #000000";
11 ctx.fillText("Hello world", 10, 200);
13 </script>
14 </head>
15 <body onload="init()">
16 <p>This test should not crash.</p>
17 <canvas id="canvas" height="300" width="300"></canvas>
18 </body>
19 </html>