[Pkg-javascript-commits] [sockjs-client] 343/434: Mention problems with file:// urls
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit d67c67885fa795702cfba482282c3ee49a711ead
Author: Marek Majkowski <majek04 at gmail.com>
Date: Fri Feb 10 14:47:51 2012 +0000
Mention problems with file:// urls
---
README.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/README.md b/README.md
index 9bff80e..2be3579 100644
--- a/README.md
+++ b/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.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list