[Webkit-unassigned] [Bug 3810] Less common HTTP status codes cause the code to appear as undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 04:54:35 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=3810


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #12 from ap at webkit.org  2007-10-26 04:54 PDT -------
(In reply to comment #11)
> I'm receiving an exception (INVALID_STATE_ERR: DOM Exception 11) when I try to
> access the XMLHttpRequest.status method on 303 responses where there is a
> Location: header returned. 

This is expected behavior: you are making an async request, so
theRequest.status and theRequest. responseText are not available right after
send(). You need to process the results from an onreadystatechange callback.

I'm going to close this bug - most (or all) issues that were originally
reported seem to be fixed by now, and keeping it open just adds to confusion.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list