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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 17:04:48 PDT 2007


------- Comment #3 from julien.chaffraix at gmail.com  2007-10-03 17:04 PDT -------
>+    if (!isValidHeaderValue(name)) {

> It seems that a new isValidHeaderName() function is needed here - header name
> and value productions are different. Eric has made some comments on IRC, too.

I have mistaken the function to call. I should have called isValidToken as it
is the case in setResponseHeader (according to the RFC 2616 header-name is a
Thanks for pointing the error.

Concerning the tests suggested by Eric, I have tested  with the latest Firefox
and it seems that it does not support all the exception added by the patch.
I will test on IE7 tomorrow once I can put my hand on it and update the results

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