[Pkg-javascript-commits] [node-stream-http] 21/208: Binary streaming test cleanup
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit 93fba689985aec1a04e621881d93c3198d856f20
Author: John Hiesey <john at hiesey.com>
Date: Fri Jul 3 03:12:18 2015 -0700
Binary streaming test cleanup
---
test/tests/binary-streaming.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/tests/binary-streaming.js b/test/tests/binary-streaming.js
index 6d5138e..71f821b 100644
--- a/test/tests/binary-streaming.js
+++ b/test/tests/binary-streaming.js
@@ -9,13 +9,12 @@ var browser = (new UAParser()).setUA(navigator.userAgent).getBrowser()
var browserName = browser.name
var browserVersion = browser.major
// Binary streaming doesn't work in IE10 or below or in Opera
-var skipStreamingCheck = (browserName === 'Opera' ||
- (browserName === 'IE' && browserVersion <= 10))
+var skipStreamingCheck = (browserName === 'Opera' || (browserName === 'IE' && browserVersion <= 10))
// Binary data gets corrupted in IE8 or below
var skipVerification = (browserName === 'IE' && browserVersion <= 8)
-var COPIES = 8
+var COPIES = 10
var MIN_PIECES = 2
var referenceOnce = fs.readFileSync(__dirname + '/../server/static/browserify.png');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list