X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=Gruntfile.js;h=811d2c06eb25edb5cf7de0e13fc18b44c0b661a4;hb=c872b6438b052cfe03df834779b9a13581ccf7eb;hp=6c56772720ea6f1950c6accaaa24a981c3346a0e;hpb=132c1ad73ffda918bbd1e011487765b80ddd2c9c;p=lhc%2Fweb%2Fwiklou.git diff --git a/Gruntfile.js b/Gruntfile.js index 6c56772720..811d2c06eb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -92,7 +92,10 @@ module.exports = function ( grunt ) { singleRun: true, autoWatch: false, // Some tests in extensions don't yield for more than the default 10s (T89075) - browserNoActivityTimeout: 60 * 1000 + browserNoActivityTimeout: 60 * 1000, + // Karma requires Same-Origin (or CORS) by default since v1.1.1 + // for better stacktraces. But we load the first request from wgServer + crossOriginAttribute: false }, main: { browsers: [ 'Chrome' ]