Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / canvas-toDataURL-crash.html
blob703600d2c027c5d6690ad709804d5ae0f2d5c7f4
1 <p id="console"></p>
2 <p>Calling toDataURL() on a huge canvas shouldn't crash. If the text above is "PASS", the test passed.</p>
3 <canvas id="foo" width="65536" height="65536"></canvas>
4 <script>
5 var canvas = document.getElementById('foo');
6 var url = canvas.toDataURL();
7 var p = document.getElementById('console');
8 p.innerHTML = "PASS";
9 if (window.testRunner)
10 testRunner.dumpAsText();
11 </script>