blob: 74edcaa0804d7ea8f007caf74296d7d400db7871 [file] [log] [blame]
<script>
if (window.testRunner) {
window.internals.settings.setForcePendingWebGLPolicy(true);
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.addEventListener("load", function () {
var canvas = document.createElement("canvas");
canvas.width = 100;
canvas.height = 100;
var gl = canvas.getContext("webgl");
var foo = gl.drawingBufferWidth;
foo = gl.drawingBufferHeight;
if (window.testRunner)
testRunner.notifyDone();
}, false);
</script>
Should not crash.