[Webkit-unassigned] [Bug 118022] New: Consider returning 0 immediately if m_error is true in response accessors of XMLHttpRequest.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 25 21:02:31 PDT 2013


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

           Summary: Consider returning 0 immediately if m_error is true in
                    response accessors of XMLHttpRequest.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, beidson at apple.com, aestes at apple.com


Consider merging https://chromium.googlesource.com/chromium/blink/+/45441471baa04ff1cb3d8ad5c0ed683a40537f9e if it's relevant for us.

Current code is depending on the response clearing code called by abort().

Also adds layout tests to ensure spec conformance. Note that the accessor
for ArrayBuffer passes this test even without this change since abort()
clears response holders. For blob, it was returning an empty blob.

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