THREE.WebGLRenderer crashes new versions of safari in CDN version of three.js (v110)
Calling new THREE.WebGLRenderer() in a recent version of safari crashes the page which causes safari to immediately reload the page and show a warning at top of page saying "This webpage was reloaded because a problem occurred.".
This only started happening recently, possibly only on very recent version of Safari (I am using Safari 15) and OSX (I am using Big Sur).
This is not a problem on Safari mobile (iOS v14.7.1)
Any suggestions on how to work around this issue without upgrading to the latest version of ThreeJS which would require major rework? (especially after the update to ES6)
To replicate, simply run this in new THREE.WebGLRenderer() in the Safari javascript console, it crashes even before it is used for creating a scene.
