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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s