[Webkit-unassigned] [Bug 29140] getResponseHeader returns "" instead of null as the spec requires.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 17 09:41:26 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29140


Carol Szabo <carol.szabo at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39698|                            |review?
               Flag|                            |




--- Comment #5 from Carol Szabo <carol.szabo at nokia.com>  2009-09-17 09:41:26 PDT ---
Created an attachment (id=39698)
 --> (https://bugs.webkit.org/attachment.cgi?id=39698)
Proposed patch

I have verified that Firefox returns null for the valid states (>=2), but does
not throw an exception for the 0 state, and in some versions not for the 1
state either.
I was unable to install a recent version of IE (7.0 or better) on the computers
that I have access to (download restrictions and failure of internal install
packages) thus I am not sure what recent IE behavior is but IE 6.0 is very far
from the standard: has redefined states, headers being accessible only after
the entire document is loaded, and then sometimes it returns an empty string,
sometimes it throws an exception (like in the case of null).

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



More information about the webkit-unassigned mailing list