You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2009/09/01 15:34:25 UTC
svn commit: r810029 - in /couchdb/branches/0.10.x: THANKS
share/www/script/test/changes.js
Author: jan
Date: Tue Sep 1 13:34:25 2009
New Revision: 810029
URL: http://svn.apache.org/viewvc?rev=810029&view=rev
Log:
merge r810028: WebKit's XHR object is lacking, patch by Sebastian Cohnen, closes COUCHDB-483
Modified:
couchdb/branches/0.10.x/THANKS
couchdb/branches/0.10.x/share/www/script/test/changes.js
Modified: couchdb/branches/0.10.x/THANKS
URL: http://svn.apache.org/viewvc/couchdb/branches/0.10.x/THANKS?rev=810029&r1=810028&r2=810029&view=diff
==============================================================================
--- couchdb/branches/0.10.x/THANKS (original)
+++ couchdb/branches/0.10.x/THANKS Tue Sep 1 13:34:25 2009
@@ -34,5 +34,6 @@
* Mark Hammond <mh...@skippinet.com.au>
* Kevin Ilchmann Jørgensen <ki...@gmail.com>
* Dirkjan Ochtman <di...@ochtman.nl>
+ * Sebastian Cohnen <se...@gmx.net>
For a list of authors see the `AUTHORS` file.
Modified: couchdb/branches/0.10.x/share/www/script/test/changes.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.10.x/share/www/script/test/changes.js?rev=810029&r1=810028&r2=810029&view=diff
==============================================================================
--- couchdb/branches/0.10.x/share/www/script/test/changes.js (original)
+++ couchdb/branches/0.10.x/share/www/script/test/changes.js Tue Sep 1 13:34:25 2009
@@ -56,10 +56,15 @@
} 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.