gecko-dev/dom/xhr
Thomas Wisniewski 2956d278f7 Bug 1400748 - Correct our handling of XHR.abort edge-cases; r=baku
1. Handle the "terminate the ongoing fetch" cases in the spec-text
   - do not CloseRequest in Abort/Open if the state is UNSENT or DONE).
   - ensure we don't fire extra events after terminating this way
     if a stray OnDataAvailable happens afterward.
2. Ensure that status/statusText correctly return 0/"" to mimic the
   spec's "set response to a network error" steps (requires special
   handling in the worker XHR code).

MozReview-Commit-ID: 5kMyGgD7uUU

--HG--
extra : rebase_source : ba8b6e85fb922869bbba749b4948bb4489878f22
2017-09-25 12:58:23 -04:00
..
tests Bug 1397151 - Remove the support for moz-chunk-text type in XHR, r=smaug 2017-09-22 07:18:49 +02:00
XMLHttpRequest.cpp
XMLHttpRequest.h
XMLHttpRequestEventTarget.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
XMLHttpRequestEventTarget.h
XMLHttpRequestMainThread.cpp Bug 1400748 - Correct our handling of XHR.abort edge-cases; r=baku 2017-09-25 12:58:23 -04:00
XMLHttpRequestMainThread.h Bug 1400748 - Correct our handling of XHR.abort edge-cases; r=baku 2017-09-25 12:58:23 -04:00
XMLHttpRequestString.cpp
XMLHttpRequestString.h
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h
XMLHttpRequestWorker.cpp Bug 1400748 - Correct our handling of XHR.abort edge-cases; r=baku 2017-09-25 12:58:23 -04:00
XMLHttpRequestWorker.h
moz.build
nsIXMLHttpRequest.idl Bug 1401848. Remove NS_IMPL_EVENT_HANDLER and its consumers. r=smaug 2017-09-22 18:07:05 -04:00