WebGL2 Shader Compile Error: Unsupported

I've been following the shader conversion guides for WebGL1 to WebGL2 to test WebGL 2 support on Safari Tech Preview, however to no avail. I keep seeing this error:


unsupported shader version


This happens when using


#version 300 es


at the top of the shader files. This DOES work in Chome WebGL 2 and others. And without this line and grabbing the webgl2 context, it throws other errors. The gl is a WebGL2RenderingContext object.


Anyone successfully implement webgl2?

Thanks,


Seth