зеркало из https://github.com/mozilla/gecko-dev.git
11 строки
305 B
HTML
11 строки
305 B
HTML
<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>
|