blob: 29e39011949941d33122b4e7e79a196222cf0c8a (
plain)
1
2
3
4
5
6
7
8
9
10
|
<canvas height=200 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>
|