Steps to reproduce
- Go to https://nolanlawson.github.io/mountain-gl/
- Notice the demo works in Firefox/Chrome/Safari but shows nothing in Edge.
The error in console appears to be “Unable to get property ‘enable’ of undefined or null reference” caused by:
var canvas = document.querySelector("canvas"); canvas.width = canvas.offsetWidth; canvas.height = canvas.offsetHeight; var gl = canvas.getContext("webgl"); gl.enable(gl.DEPTH_TEST);
I’ve repro’d in Edge 16199.100 as well as 15063.2.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Christian F.”