summaryrefslogtreecommitdiffstats
path: root/dom/canvas/crashtests/1551745.html
blob: f7617b96efee43815d36aa81053f1df64dbd35d4 (plain)
1
2
3
4
5
6
7
8
9
<script>
window.addEventListener('load', function() {
  b.getContext('2d')
  a.src = b.toDataURL('image/jpeg', 0.1)
  b.setAttribute('width', 2684354)
})
</script>
<img id='a' src='data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACwAAAAAAQABAAACAkQBADs='/>
<canvas id='b' height='800' width='800'></canvas>