View on GitHub

Devendra's Log

Testing Ajax browser application in Chrome without a web server

Chrome, by default, only allows access to Javascript code from pages served by a web server over the HTTP protocol. If you need to test from the file system, you can do so by specifying the --allow-file-access-from-files option to the Chrome executable.