In Firefox it just doesn't load at all but it prints this in the
console:
uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost/philoGL/build/PhiloGL.js :: <TOP_LEVEL> :: line 660"
data: no]
-----
hasWebGL( )
PhiloGL.js (line 660)
-----
picking()
picking (line 34)
[Break On This Error]
return !!(window.WebGLRender...s.getContext('experimental-
webgl'))); PhiloGL.js (line 660)
uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost/philoGL/build/PhiloGL.js :: <TOP_LEVEL> :: line 293"
data: no]
-----
getContext()
PhiloGL.js (line 293)
-----canvas = canvas#surface-explorer-canvas
-----opt = Object {}
-----
PhiloGL()
PhiloGL.js (line 80)
----canvasId = "surface-explorer-canvas"
-----opt = Object { context={...}, camera={...}, more...}
-----init()balls.js (line 137)
[Break On This Error]
ctx = canvas.getContext('experimental-webgl',
opt); PhiloGL.js (line 293)
No errors in the console in chrome.
--Ashley