couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r810028 - in /couchdb/trunk: THANKS share/www/script/test/changes.js
Date Tue, 01 Sep 2009 13:32:33 GMT
Author: jan
Date: Tue Sep  1 13:32:33 2009
New Revision: 810028

URL: http://svn.apache.org/viewvc?rev=810028&view=rev
Log:
WebKit's XHR object is lacking, patch by Sebastian Cohnen, closes COUCHDB-483

Modified:
    couchdb/trunk/THANKS
    couchdb/trunk/share/www/script/test/changes.js

Modified: couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=810028&r1=810027&r2=810028&view=diff
==============================================================================
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Tue Sep  1 13:32:33 2009
@@ -34,5 +34,6 @@
  * Mark Hammond <mhammond@skippinet.com.au>
  * Kevin Ilchmann Jørgensen <kijmail@gmail.com>
  * Dirkjan Ochtman <dirkjan@ochtman.nl>
+ * Sebastian Cohnen <sebastian.cohnen@gmx.net>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/share/www/script/test/changes.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/changes.js?rev=810028&r1=810027&r2=810028&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/changes.js (original)
+++ couchdb/trunk/share/www/script/test/changes.js Tue Sep  1 13:32:33 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.



Mime
View raw message