[Webkit-unassigned] [Bug 98404] New: XHR abort() event firing does not match spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 06:58:05 PDT 2012


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

           Summary: XHR abort() event firing does not match spec
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominik.rottsches at intel.com
                CC: ap at webkit.org, ggaren at apple.com,
                    giles_joplin at yahoo.com
            Blocks: 74802


The XHR abort implementation does not correctly move from step 6 to 7:
http://www.w3.org/TR/XMLHttpRequest/#the-abort-method
That means, it's firing abort events, even 
if the state is "UNSENT, OPENED with the send() flag being unset, or DONE"

This was found when implementing XHR2 timeout and needs to be fixed before that. 
When corrected, this causes issues with the following test cases 
fast/events/event-fire-order.html 
http/tests/xmlhttprequest/onloadend-event-after-sync-requests.html 
http/tests/xmlhttprequest/upload-onloadend-event-after-sync-requests.html

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