Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventSource is not defined #1

Open
edsu opened this issue Feb 23, 2017 · 1 comment
Open

EventSource is not defined #1

edsu opened this issue Feb 23, 2017 · 1 comment

Comments

@edsu
Copy link

edsu commented Feb 23, 2017

Works great in Chrome! -- but I see this in Firefox:

ReferenceError: EventSource is not defined

This is a very succinct and powerful example, thanks for sharing it!

@esjewett
Copy link
Owner

esjewett commented Mar 1, 2017

Thank you! Apparently Firefox doesn't support EventSource in web workers. Looks like it's slated to ship in version 53, so if we just wait long enough this issue will resolve itself, which is my preference as this is just a quick demo. https://bugzilla.mozilla.org/show_bug.cgi?id=1267903

If someone wants to send a pull request with a shim or something that is used if EventSource is not defined, that would be welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants