sockjs/sockjs-client — Issue #23: robuster browser detection is needed
Author: dvv
Created: 2011-10-26 14:11:53+00:00
State: open

IE9 in standard document mode pretends to be a good browser. In particular, checking whether browser is IE with `typeof _document.attachEvent === 'object'` gives false negatives. This lead to subtle errors. To name one, jsonp-polling transport stops functioning correctly.

Proposed fix to jsonp-polling for IE is at https://github.com/sockjs/sockjs-client/pull/21

I believe we should determine browser once (then cache it in SockJS object) and more carefully