Glimpse / Home

Project Glimpse: Node Edition - Spend less time debugging and more time developing.
http://node.getglimpse.com
Other
252 stars 9 forks source link

[EventSource] Add polyfill for Edge support #4

Closed chetsangnil closed 8 years ago

chetsangnil commented 8 years ago

Edge:

philliphoff commented 8 years ago

See the same behavior myself on Edge. The console reports:

SCRIPT5009: 'EventSource' is undefined
messages-actions-live.js (64,13)

It appears that neither IE nor Edge yet support HTML5 server-sent events. We may need to look into a polyfill, if available.

philliphoff commented 8 years ago

So I gave the relatively popular event-source-polyfill a try. It seemed to allow Edge to get a bit further (requests would be listed on refresh), but there were periodic disconnects reported on the console and requests would not auto-populate thereafter. IE still doesn't like something, but neither browsers are reporting the same errors locally that they were when hosted in-app, so it's hard to tell what's going on.

avanderhoorn commented 8 years ago

Sorry, I thought this was for fetch. Hence reopened.

avanderhoorn commented 8 years ago

This is done.