On 14 Jan 2010, at 14:52, Brian Candler wrote:

> Is anybody else seeing errors in the cookie_auth test?
> 
> Assertion failed: false && "Can't delete other users docs. Should have thrown 
> an error."
> Assertion failed: /Welcome/.test(xhr.responseText)) } else { T(xhr.status ==
> 302) T(xhr.getResponseHeader("Location")) } // test users db validations //
> // test that you can't update docs unless you are logged in as the user (or
> // are admin) T(CouchDB.login("[email protected]", "funnybone").ok
> Assertion failed: CouchDB.session().name == "[email protected]"
> Assertion failed: CouchDB.session().roles.length == 0
> Assertion failed: false && "Can't update someone else's user doc. Should
> have thrown an error."
> Assertion failed: false && "Can't set roles unless you are admin. Should
> have thrown an error."
> Assertion failed: false && "Can't add system roles to user's db. Should have
> thrown an error."
> Assertion failed: CouchDB.login("[email protected]", "funnybone").ok
> Assertion failed: CouchDB.session().name == "[email protected]"
> Assertion failed: CouchDB.session().roles.indexOf("_admin") == -1
> Assertion failed: CouchDB.session().roles.indexOf("foo") != -1
> Assertion failed: CouchDB.session().roles.indexOf("foo") != -1
> Exception raised: {"message":"Cannot convert null to
> object","stack":"TypeError: Cannot convert null to object\n    at DELETE
> (native)\n    at eval at patchTest
> ...
> 
> The is present in ac923167f7e9f8baa842b08a24d74da52e0c9dba but not in the
> previous commit d19680d54c5d3f90999f387236bc38c1dd13f9af
> 
> I am running under Ubuntu Karmic and with Chrome as my browser.

The test suite officially only supports Firefox. Safari works mostly. If you 
have a browser-
specific fix for the test suite, we're happy to commit it :)

Cheers
Jan
--

Reply via email to