Browse files

Mention problems with file:// urls

  • Loading branch information...
majek committed Feb 10, 2012
1 parent d566f76 commit d67c67885fa795702cfba482282c3ee49a711ead
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -319,3 +319,9 @@ There are various browser quirks which we don't intend to address:
that have a proper Unicode support.
* Having a global function called `onmessage` or such is probably a
bad idea, as it could be called by the built-in `postMessage` API.
+ * Serving an html page that uses SockJS from `file://` url will not
+ work. This is due to a badly thought through
+ [CORS specification](
+ It is impossible to receive response to an Ajax request with
+ cookies set (`withCredentials` set to `true`) sent from a `file://`
+ origin.

0 comments on commit d67c678

Please sign in to comment.