From 2194ea23559a82ff2eff43a5c0a909ddbf785614 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 23 Jan 2017 15:51:07 -0500 Subject: [PATCH] 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7696ac65d..ea9e3de09 100644 --- a/package.json +++ b/package.json @@ -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": {