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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 15 15:01:33 PDT 2007


------- Comment #9 from julien.chaffraix at gmail.com  2007-10-15 15:01 PDT -------
> Is there really a need to add the isValidToken check? What's the behavior if we
> leave it out? Do any of the tests you wrote fail if you leave out the
> isValidToken check?

Without isValidToken we return null as does Firefox. A side effect is to make
the test case fail but it was designed to fail if something else that an empty
string is returned so it is not relevant.

So basically we have the choice to side with Firefox (return null) or Opera/IE
(return an empty string).

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