content/canvas/crashtests/texImage2D.html
author Gregory Szorc <gps@mozilla.com>
Wed, 08 Jan 2014 11:19:21 -0800
changeset 201362 3c72c5ea486c94436fad7e206344a11b8bb3453d
parent 91583 975335c0de318bafa8b3448b037be0b19beb3d6e
permissions -rw-r--r--
Bug 957721 - Switch mach's shebang to look for python2.7. r=glandium OpenBSD doesn't have "python" on $PATH by default. "python" may also come from a non-2.7 Python. Switching the shebang will help ensure the user invokes mach with Python 2.7.

<!doctype html>
<canvas></canvas>
<script>
var canvas = document.body.firstChild,
    gl = canvas.getContext("experimental-webgl");
gl.texImage2D(0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
gl.texSubImage2D(0, 0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
</script>