GWT Script does not load in Chrome and Internet Explorer
The path in the browser in this scenario will possibly look like: file://[path to your app]/[your app name].html
Unfortunately, in some instances such a local test might not work as expected.
In particular, one GWT script of mine worked fine in Firefox but would not work in Internet Explorer and Chrome. Internet Explorer warned "To help protect your security, Internet Explorer has restricted this webpage from running scripts".
It appears that this error occurs due to special security restrictions imposed on webpages accessed as local files. Possible solutions are:
- Deploy the application to a web server and access the script there.
- Change the Chrome browsers security settings (I don't know if there is a similar setting for Internet Explorer) (The flag is --allow-file-access-from-files)
"xsl stylesheet wrongly blocked, all on local drive" http://code.google.com/p/chromium/issues/detail?id=70088