mrdoob/three.js — Issue #1072: When WebGL is not available, "[var] is undefined"
Author: arcanin
Created: 2012-01-11 08:53:34+00:00
State: open

Hi,

In order to do some tests, I've disabled WebGL in my browsers (chrome with about:flags and firefox with about:config).

My application crash after including Three.js.

Error message is below :
`[09:47:02.595] [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLCanvasElement.getContext]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/~nison_m/hec/Three.js :: :: line 262" data: no] @ http://localhost/~nison_m/hec/Three.js:263
[09:47:02.632] i is undefined @ http://localhost/~nison_m/hec/Three.js:263`