summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/916322-1.html
blob: 279a8e59f43fcb2ab689a0a9527239b114662c19 (plain)
1
2
3
4
5
6
7
8
9
10
<canvas height=16 id=gl>
<script>
// Without the fix, this would trigger an assertion in the debug build
document.addEventListener("DOMContentLoaded", DifferentSizes, false);
function DifferentSizes() {
  gl.getContext("2d");
  gl.removeAttribute('height');
  gl.toBlob(function() { }, false)
}
</script>