Answer the question
In order to leave comments, you need to log in
Server-Sent Events CORS in Chrome?
Decided to play around with Server-Sent Events (sse).
http://sse.localhost:3000/ - echo Node/Coffee server
http://localhost/ - static (connects to the echo server and writes to the event console)
In Firefox 15 / Opera 12, everything works like clockwork (this is what I found out when I got tired of looking for an error in chrome).
In Chrome 20, I immediately get Uncaught Error: SECURITY_ERR: DOM Exception 18
Access-Control-Allow-Origin without flirting. Specified
localhost/ this is not file:/// => should not swear.
In two fresh browsers everything works fine.
Apparently I'm missing some important point / my eyes are blurry. How to overcome?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question