Atmosphere/atmosphere-javascript — pull request #54 by Artur- (2013-10-31 18:35:54+00:00)
Title: Only call onopen after we the connection has actually been opened

Firefox likes to do readystatechange events (0->2) when reconnecting fails but these attempts have status==0 (as opposed to 200) and should not trigger onopen.

Related to #15, fixes http://dev.vaadin.com/ticket/12492