mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
11 lines
306 B
HTML
11 lines
306 B
HTML
<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>
|