X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=Gruntfile.js;h=811d2c06eb25edb5cf7de0e13fc18b44c0b661a4;hp=6c56772720ea6f1950c6accaaa24a981c3346a0e;hb=e707954ed32203520519864ecdcd19464467bc3f;hpb=55043101b2a89ea1e811b6d35e415f57ed0bf41d 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' ]