nextcloud/build
Daniel Calviño Sánchez 268a92731f Limit Sinon version to 5.0.7 at most
When using fake servers with Sinon.JS, the JavaScript test framework,
the XHR objects are also fake. In Sinon 5.0.8 the "setRequestHeader" of
XMLHttpRequest was modified to normalize the header values (as requested
by the spec), but since then only string values are accepted; null or
integer values can no longer be passed to "setRequestHeader", as it
expects the "replace" function to be available in the object. However,
in the tests null and integer values are passed to "setRequestHeader",
which causes them to fail.

Both Firefox and Chromium accept passing non-string values to their
"setRequestHeader" implementation, and it is done, for example, in
davclient.js; it is not clear yet whether Sinon got too restrictive or
the code calling "setRequestHeader" was too loose. Given that
davclient.js is an external dependency, as a temporary measure Sinon
version is forced to be 5.0.7 at most until either Sinon or davclient.js
are updated.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-28 08:06:20 +02:00
..
.ci-conf Adding magic file to enable oci on pull request testing on ci.owncloud.org 2015-03-20 15:00:51 +01:00
.phan Check doc block signature to match the specified return type 2018-04-26 14:35:24 +02:00
integration Return proper boolean user enabled state api 2018-04-16 15:17:02 +02:00
.htaccess Only request "IndexIgnore" if mod_autoindex is loaded 2017-02-20 13:09:15 +01:00
OCPSinceChecker.php $this->blackListedClassNames is unknown 2016-09-07 22:09:08 +02:00
autoloaderchecker.sh Fixed tests 2018-04-05 17:11:41 +02:00
build.xml cleaning up the build directory 2014-12-10 10:07:22 +01:00
files-checker.php Remove .lgtm file 2018-05-23 14:49:22 +02:00
gen-coverage-badge.php Add script to generate coverage badges 2016-02-16 10:07:00 +01:00
htaccess-checker.php Add .htaccess checker as CI step 2016-11-02 20:11:30 +01:00
image-optimization.sh Move image-optimization.sh to build dir 2017-07-24 08:08:18 +02:00
jsdocs9.tar.bz2 Update integration tests for system tags with groups 2016-05-20 17:56:02 +02:00
license.php Remove brackets for invalid mail addresses when updating the license header 2017-11-07 10:50:42 +01:00
mergejs.php Resolves warnings in Chrome Dev Console: 2018-04-29 09:29:56 -04:00
mergejschecker.sh Add CI step to verify merged vendor js 2017-03-23 13:40:30 +01:00
package.json Limit Sinon version to 5.0.7 at most 2018-05-28 08:06:20 +02:00
signed-off-checker.php Add auth token to github requests 2018-04-11 15:15:49 +02:00
translation-checker.php Loop over the apps directory and add the task 2017-04-25 14:35:51 +02:00