<script>
if (window.testRunner)
    testRunner.dumpAsText();

var canvas = document.createElement("canvas");
var context = canvas.getContext("webgl");

document.write(context ? "PASS" : "FAIL");
</script>