Skip to content

chrome XHR (file:// protocal)....#3

Open
gregglind wants to merge 1 commit intoquirkey:masterfrom
gregglind:master
Open

chrome XHR (file:// protocal)....#3
gregglind wants to merge 1 commit intoquirkey:masterfrom
gregglind:master

Conversation

@gregglind
Copy link
Copy Markdown

As I emailed you about (and in the commit message), chrome doesnt handle file:// in AJAX, so bundled a tiny python static file server. Might be useful! If you want to have a Ruby one, that is understandable as well!

Didn't change any of the jQuery stuff to 1.4.

Big fan of Sammy!

Cheers,

Gregg Lind

Chrome has a restrictive local file XHR policy that makes
the_json_store difficult to run as an example.  file://
requests are disallowed in Chrome Ajax calls.
A solution is to run a small web server.  For users
with python installed:

  cd <cloned the_json_store>
  python server.py [some_port]

cf: http://code.google.com/p/chromium/issues/detail?id=40787
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant