[Webkit-unassigned] [Bug 127050] New: [XHR] Ensure response, responseText and responseXML return null/empty string when error flag is set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 15 07:47:56 PST 2014


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

           Summary: [XHR] Ensure response, responseText and responseXML
                    return null/empty string when error flag is set
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: youennf at gmail.com


According XHR spec, XHR response getters should return null/empty string when the error flag is set.
XHR response getters do not always match that behavior.
This happens for instance if response getters are called within ontimeout callbacks and the HTTP response started to be received (error flag is set and xhr state is DONE).

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