Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / canvas / test / crash / file_texImage2D.html
blob370b0085720a85a2656bf24a7ded96350c5a4743
1 <!doctype html>
2 <canvas></canvas>
3 <script>
4 var canvas = document.body.firstChild,
5 gl = canvas.getContext("experimental-webgl");
6 gl.texImage2D(0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
7 gl.texSubImage2D(0, 0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
8 </script>