mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
85611a7b6d
--HG-- extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
11 lines
299 B
HTML
11 lines
299 B
HTML
<canvas height=200 id=gl>
|
|
<script>
|
|
// Without the fix, this would trigger an assertion in the debug build
|
|
document.addEventListener("DOMContentLoaded", DifferentSizes);
|
|
function DifferentSizes() {
|
|
gl.getContext("2d");
|
|
gl.removeAttribute('height');
|
|
gl.toBlob(function() { }, false)
|
|
}
|
|
</script>
|