remy/polyfills — pull request #4 by rcarmo (2012-06-08 16:06:20+00:00)
Title: Added support for retry: field. Tested on Android 4.0.3. 

Incidentally, since you do polling, this polyfill works great (error handling included) for one of the corner cases nobody ever bothers to test: when the server (or the connection) goes down temporarily and reappears.

So far, only Chrome supports that corner case properly with the intrinsic EventSource object - no other browser seems to be able to deal with that, and no other polyfill handles that case either.