[Webkit-unassigned] [Bug 15356] getResponseHeader and getAllResponseHeaders do not throw exceptions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 9 09:31:57 PDT 2007


julien.chaffraix at gmail.com changed:

           What    |Removed                     |Added
  Attachment #16596|                            |review?
               Flag|                            |

------- Comment #7 from julien.chaffraix at gmail.com  2007-10-09 09:31 PDT -------
Created an attachment (id=16596)
 --> (http://bugs.webkit.org/attachment.cgi?id=16596&action=view)
Updated patch

Concerning Darin's comment about regression, I did some testing (as I told you
I would) and updated the patch and the tests according to the results.


IE7 : raise an exception when readyState < 4
FF 3 : has a buggy behaviour that depends on the version I have used but i does
raise an exception at some point before readyState 3.
Opera : raise an exception when readyState < 3

Here raising an exception when readyState < 3 seems the right behaviour and I
have not changed that part.


IE 7 & Opera : returns an empty string
Firefox : returns null

I sided with Opera and IE and returned an empty string if the requested header
is not valid.

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