参考: http://www.chromium.org/developers/how-tos/run-chromium-with-flags
错误描述: XMLHttpRequest cannot load file "file/path/here" Cross origin requests are only supported for HTTP
解决方法:
On Windows:
- Right click on your "Chrome" icon.
- Choose properties
- At the end of your target line add the command line flag. For example:
--remote-debugging-port=9222
- With that example flag, it should look like:
chrome.exe
--remote-debugging-port=9222
解决方法:添加参数 --allow-file-access-from-files