Run phantomjs with --web-security=no

Potential fix for #3670
see http://stackoverflow.com/questions/15913170/phantom-js-synchronous-ajax-request-network-err-xmlhttprequest-exception-101
This commit is contained in:
Bryan Housel
2017-01-23 15:51:07 -05:00
parent e4587a2259
commit 2194ea2355
+1 -1
View File
@@ -24,7 +24,7 @@
"prepublish": "npm run all",
"start": "node development_server.js develop",
"test": "npm-run-all -s lint build test:**",
"test:phantom": "phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec",
"test:phantom": "phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec",
"translations": "node data/update_locales"
},
"dependencies": {