Question

According to MDN:

Note: Although it's not yet part of the standard, EventSource supports CORS in Firefox 11 and later. This is expected to become standard soon.

Does anybody know the current status of this? Is this still true? What about Chrome?

Was it helpful?

Solution

I did some experiments, and as it seems, server-sent events do work on current versions of Chrome, Firefox and Safari out of the box with CORS :-).

I did not test Opera, and I did not test Internet Explorer (which, according to CanIUse) is not capable of server-sent events.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top