[Webkit-unassigned] [Bug 46151] XMLHttpRequest: setRequestHeader() does not throw SYNTAX_ERR exception if the header field name is empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 00:43:05 PDT 2010


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





--- Comment #2 from Alexey Proskuryakov <ap at webkit.org>  2010-09-22 00:43:05 PST ---
> The fix appears to be changing XMLHttpRequest::isValidToken()

Note that this function is also used to check HTTP method, so this will also fix part of bug 46008.

I think that this is unlikely to break web sites. Seems fine to make the change, as long as at least one of IE/Firefox matches the spec here.

Given that we're going to import the whole test suite sooner or later, and that this is such an inconsequential change, it may even be OK to land it without a regression test.

-- 
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