X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=Gruntfile.js;h=dbbfcb814eb5dda249d3d667a806a5e74611e298;hb=439b819faf168c67b7381083c244a5d5610f85bb;hp=6c56772720ea6f1950c6accaaa24a981c3346a0e;hpb=c35a2c056759b6804558fe3eb4981c9c09495db3;p=lhc%2Fweb%2Fwiklou.git diff --git a/Gruntfile.js b/Gruntfile.js index 6c56772720..dbbfcb814e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -44,8 +44,6 @@ module.exports = function ( grunt ) { '!extensions/**/*.js', '!skins/**/*.js', // Skip functions aren't even parseable - '!resources/src/dom-level2-skip.js', - '!resources/src/es5-skip.js', '!resources/src/mediawiki.hidpi-skip.js' ] }, @@ -92,7 +90,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' ]