Talk:Loading shaders from HTML script tags
From The WebGL Cookbook
Maybe You should check the length of the log width att the end and write it to the console if it's not 0. So that it wil catch all errors and at least pressent them.
if(getShaderi(shader,INFO_LOG_LENGTH)!=0){
window.console && window.console.warn("shader info log:",getShaderInfoLog((shader));
}
--Neppord 12:32, 13 November 2009 (UTC)