Commit graph

176 commits

Author SHA1 Message Date
Thomas Wisniewski
bea588b693 Bug 918703 - Part 1: Remove MaybeDispatchProgressEvents() and have its callsites only do what they need to do, to make the XHR code more readable. r=baku 2016-07-14 13:24:54 -04:00
Sebastian Hengst
bf244b578e Backed out changeset ff5028ff81cb (bug 447689) for assertion in test_worker_xhr_implicit_cancel.html in debug builds. r=backout 2016-07-16 18:26:08 +02:00
Thomas Wisniewski
0564cc02ae Bug 447689 - clean up XMLHttpRequest::Open so XHR readyState=1 events are fired according to spec. r=baku 2016-07-15 11:33:17 -04:00
Thomas Wisniewski
06e846446b Bug 1286744 - Return the empty string from GetAllResponseHeaders() if the XHR failed. r=smaug 2016-07-14 11:14:46 -04:00
Thomas Wisniewski
b66fa4f6c0 Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku 2016-07-11 15:03:44 -04:00
Thomas Wisniewski
ef7d665ee0 Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana 2016-07-11 14:27:36 -04:00
Carsten "Tomcat" Book
b40f905f49 Backed out changeset 643bfa8b72ba (bug 1207233) for bustage 2016-07-12 11:40:16 +02:00
Carsten "Tomcat" Book
c33672a846 Backed out changeset ff7dbda6a6d0 (bug 1207233) 2016-07-12 11:40:00 +02:00
Thomas Wisniewski
458f4f42b3 Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku
--HG--
extra : rebase_source : de17309ef5704f288f309605dbb7744eadea3bd8
2016-07-11 15:03:44 -04:00
Thomas Wisniewski
291ec7772c Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana
--HG--
extra : rebase_source : f4063c85716f899545878f89fc7f2225ef95c7cd
2016-07-11 14:27:36 -04:00
Thomas Wisniewski
1bc65bb8d9 Bug 1285036 - Part 5: Consolidate the readystatechange-firing code into a function named FireReadyStateChange(). r=baku 2016-07-08 12:50:48 -04:00
Thomas Wisniewski
fbc2d5f34d Bug 1285036 - Part 4: Remove the 'sent' pseudostate and add support for the spec's send() flag instead. r=baku 2016-07-08 12:50:19 -04:00
Thomas Wisniewski
7f789c31d7 Bug 1285036 - Part 3: Flip the asynchronous flag to synchronous, to match the spec. r=baku 2016-07-08 12:49:40 -04:00
Thomas Wisniewski
d6255ae33c Bug 1285036 - Part 2: Split mState up into an enum and a set of bool flags. r=baku 2016-07-08 12:46:12 -04:00
Thomas Wisniewski
c603d18df1 Bug 1285036 - Part 1: Use an enum for ProgressEvent types and use consts for the event name strings. r=baku 2016-07-08 12:44:33 -04:00
Ryan VanderMeulen
64abd594e5 Backed out 6 changesets (bug 1285036) for bustage on a CLOSED TREE.
Backed out changeset f7174077bd92 (bug 1285036)
Backed out changeset 4ae182434a6a (bug 1285036)
Backed out changeset 0390a7afb12d (bug 1285036)
Backed out changeset b93efbaf1d7a (bug 1285036)
Backed out changeset 3036026722de (bug 1285036)
Backed out changeset 8e94b77f805b (bug 1285036)
2016-07-07 21:57:49 -04:00
Thomas Wisniewski
b623293dc5 Bug 1285036 - Part 5: Consolidate the readystatechange-firing code into a function named FireReadyStateChange(). r=baku 2016-07-07 11:56:04 -04:00
Thomas Wisniewski
5aaa9bf897 Bug 1285036 - Part 4: Remove the 'sent' pseudostate and add support for the spec's send() flag instead. r=baku 2016-07-07 11:51:51 -04:00
Thomas Wisniewski
6876d3a1ff Bug 1285036 - Part 3: Flip the asynchronous flag to synchronous, to match the spec. r=baku 2016-07-07 11:31:19 -04:00
Thomas Wisniewski
310395ef86 Bug 1285036 - Part 2: Split mState up into an enum and a set of bool flags. r=baku 2016-07-07 11:21:22 -04:00
Thomas Wisniewski
1ccc4300cf Bug 1285036 - Part 1: Use an enum for ProgressEvent types and use consts for the event name strings. r=baku 2016-07-07 11:07:53 -04:00
Thomas Wisniewski
c694d1761b Bug 924319 - do not include Content-Length for data URIs in XMLHttpRequest.getAllResponseHeaders. r=jst
--HG--
extra : rebase_source : e4b966f7cfd054394cf8672e00b8b63feea9ce84
2016-06-28 19:22:16 -04:00
Thomas Wisniewski
30e61f3146 Bug 918773 - set responseXML.referrer to the empty string. r=jst
--HG--
extra : rebase_source : e537ea45eb0ce380059830d615c35f5ab76e37e3
2016-06-30 14:01:25 -04:00
Benjamin Dahse
2400e065d1 Bug 988831 - support memory mapped files in Windows. r=ehoogeveen
--HG--
extra : rebase_source : faf8d37b0d4d517b8a859b3fa57f8cd7f914de8f
2016-06-30 14:32:13 +02:00
Andrea Marchesini
6d146a2e3d Bug 1282253 - Get rid of XHR::ResponseTypeEnum, r=smaug 2016-06-27 19:13:41 +02:00
Andrea Marchesini
37ac18fc67 Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Renamed from dom/xhr/nsXMLHttpRequest.cpp (Browse further)