It is checking for capabilities and not version:
try {
gl = canvas.getContext( "experimental-webgl") ;
gl.viewportWidth = docWidth;
gl.viewportHeight = docHeight;
} catch(e) {
}
if (!gl) {
alert("This website requires WebGL. Try running Chrome 9+ or Firefox 4+");
}