[Pkg-javascript-commits] [node-stream-http] 175/208: Fix timeout test failure
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:42 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 5ee30ad5ccf02b4f3b4aa569bf6ccbff5a5c02d9
Author: John Hiesey <john at hiesey.com>
Date: Mon Jan 16 00:35:53 2017 -0800
Fix timeout test failure
---
test/browser/timeout.js | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/test/browser/timeout.js b/test/browser/timeout.js
index 503026b..59c09b8 100644
--- a/test/browser/timeout.js
+++ b/test/browser/timeout.js
@@ -1,7 +1,15 @@
+var Buffer = require('buffer').Buffer
+var fs = require('fs')
var test = require('tape')
+var UAParser = require('ua-parser-js')
+var url = require('url')
var http = require('../..')
+var browser = (new UAParser()).setUA(navigator.userAgent).getBrowser()
+var browserName = browser.name
+var browserVersion = browser.major
+
var skipTimeout = ((browserName === 'Opera' && browserVersion <= 12) ||
(browserName === 'Safari' && browserVersion <= 5))
--
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