jmpressjs / jmpress.js

A jQuery plugin to build a website on the infinite canvas
http://jmpressjs.github.com/jmpress.js
1.5k stars 237 forks source link

Fix chrome test failures when executing qunit using the file protocol #173

Open FagnerMartinsBrack opened 9 years ago

FagnerMartinsBrack commented 9 years ago

Chrome has some default security measures that makes it impossible to execute some ajax calls using the file: protocol. That is the reason why one of the tests in #169 screenshot fails, it should be run in a server.

The commit below add grunt-contrib-connect to be able to execute and debug the tests in the browser without any failure in chrome.

https://github.com/web-stories/jmpress.js/commit/c2838a4d2845974d817f8d8999b5049ac98c1ecf