Skip to content
Browse files

Mention problems with file:// urls

  • Loading branch information...
1 parent d566f76 commit d67c67885fa795702cfba482282c3ee49a711ead @majek majek committed Feb 10, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -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](http://dvcs.w3.org/hg/cors/raw-file/tip/Overview.html)
+ 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.
Something went wrong with that request. Please try again.