Truly independent web browser
<!doctype html>
<script src="../include.js"></script>
<script>
test(() => {
let canvas = document.createElement("canvas");
let context = canvas.getContext("webgl");
println(`context instanceof WebGLRenderingContext: ${context instanceof WebGLRenderingContext}`);
println(`context is null: ${context === null}`);
let canvas2 = document.createElement("canvas");
let context2 = canvas2.getContext("webgl2");
println(`typeof WebGL2RenderingContext.prototype.texImage2D: ${typeof WebGL2RenderingContext.prototype.texImage2D}`);
println(`context2 instanceof WebGL2RenderingContext: ${context2 instanceof WebGL2RenderingContext}`);
println(`context2 is null: ${context2 === null}`);
});
</script>