1 Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=69681">bug
69681</a>,
2 canvas.toDataURL(
"image/jpeg") should not crash.
<br>
4 <canvas id=
"canvas" width=
"2000" height=
"2000"></canvas>
6 var test
= document
.getElementById('canvas').toDataURL('image/jpeg');
7 // Test passes if we don't crash.
8 document
.getElementById('log').innerHTML
= 'PASS';
10 testRunner
.dumpAsText();