[Pkg-javascript-commits] [node-stream-http] 47/208: Try to make tests more reliable in both ie8 and firefox
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:26 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 0876078d9e2158c019fb000ea9c6db5fa1f60e04
Author: John Hiesey <john at hiesey.com>
Date: Sun Jul 12 15:59:02 2015 -0700
Try to make tests more reliable in both ie8 and firefox
---
test/browser/binary-streaming.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/browser/binary-streaming.js b/test/browser/binary-streaming.js
index 59093b2..4a15ffb 100644
--- a/test/browser/binary-streaming.js
+++ b/test/browser/binary-streaming.js
@@ -14,7 +14,9 @@ var skipStreamingCheck = (browserName === 'Opera' || (browserName === 'IE' && br
// Binary data gets corrupted in IE8 or below
var skipVerification = (browserName === 'IE' && browserVersion <= 8)
-var COPIES = 5
+// IE8 tends to throw up modal dialogs complaining about scripts running too long
+// Since streaming doesn't actually work there anyway, just use one copy
+var COPIES = skipVerification ? 1 : 12
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