Bug 119714

Summary: On request error, always fire events on the XMLHttpRequestUpload before the XMLHttpRequest
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Page LoadingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, cdumez, commit-queue, laszlo.gombos
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Ryosuke Niwa 2013-08-12 19:21:05 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/20f42ed7623cc7366293ca610e6f40609185a591

On request error, fire events on the XMLHttpRequestUpload object before the XMLHttpRequest
object as per the latest specification:
http://xhr.spec.whatwg.org/#request-error

IE10 behaves according to specification but blink was firing the events on the XMLHttpRequest
object BEFORE the XMLHttpRequestUpload object in case of 'network error' or 'abort error'.
Blink was however behaving according to specification in case of 'timeout error', which was
inconsistent.
Comment 1 Chris Dumez 2013-08-13 01:19:34 PDT
Created attachment 208607 [details]
Patch
Comment 2 WebKit Commit Bot 2013-08-13 09:14:57 PDT
Comment on attachment 208607 [details]
Patch

Clearing flags on attachment: 208607

Committed r154004: <http://trac.webkit.org/changeset/154004>
Comment 3 WebKit Commit Bot 2013-08-13 09:15:01 PDT
All reviewed patches have been landed.  Closing bug.