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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 3 03:00:18 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15356

           Summary: getResponseHeader and getAllResponseHeaders do not throw
                    exceptions
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: julien.chaffraix at gmail.com


According to the spec, getReponseHeader and getAllResponseHeaders should send
an INVALID_STATE_ERR exception if state is RECEIVING or DONE.
getResponseHeader should also send a SYNTAX_ERR exception if the header
argument does not match the field-name production.

Following patch corrects those behaviors.


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