summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/changes.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js
index 314a52b5..690727af 100644
--- a/share/www/script/test/changes.js
+++ b/share/www/script/test/changes.js
@@ -56,10 +56,15 @@ couchTests.changes = function(debug) {
} catch (err) {
}
- if (xhr) {
+ // poor man's browser detection
+ var is_safari = navigator.userAgent.match(/AppleWebKit/);
+ if (!is_safari && xhr) {
// Only test the continuous stuff if we have a real XHR object
// with real async support.
+ // WebKit (last checked on nightly #47686) does fail on processing
+ // the async-request properly while javascript is executed.
+
var sleep = function(msecs) {
// by making a slow sync request, we allow the waiting XHR request data
// to be received.