Open damien-murphy opened 6 years ago
This can be fixed by just passing '--web-security=no' to phantom.create() as the first param in init-phantomjs.js
https://github.com/iconic/grunt-svg-toolkit/blob/master/tasks/lib/init-phantomjs.js#L16
phantom.create('--web-security=no', function (ph) { data.logger('New PhantomJS instance created.'); data.phantomjs = ph; done(null, data); }, { dnodeOpts: { weak: false } });
Thanks it work for me
This can be fixed by just passing '--web-security=no' to phantom.create() as the first param in init-phantomjs.js
https://github.com/iconic/grunt-svg-toolkit/blob/master/tasks/lib/init-phantomjs.js#L16