Commit Graph

44 Commits

Author SHA1 Message Date
Thomas Wisniewski
fd7c2e2702 Bug 1285036 - Part 8: Change XHR open() and related code to follow the spec more closely. r=baku 2016-07-20 13:02:36 -04:00
Thomas Wisniewski
d726d8adb3 Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-07-27 16:03:42 -04:00
Ryan VanderMeulen
4d295a2bc1 Backed out 3 changesets (bug 1285036) for browser_net_resend.js failures on a CLOSED TREE.
Backed out changeset 1fd18c03c696 (bug 1285036)
Backed out changeset 6462cd2ea249 (bug 1285036)
Backed out changeset 6b51b69f723e (bug 1285036)
2016-07-21 14:56:01 -04:00
Thomas Wisniewski
f158253c02 Bug 1285036 - Part 9: Clean up the XHR send() API endpoints, and how nsIVariants are handled. r=baku 2016-07-21 00:36:26 -04:00
Thomas Wisniewski
ffe189562e Bug 1285036 - Part 8: Change XHR open() and related code to follow the spec more closely. r=baku 2016-07-20 13:02:36 -04:00
Thomas Wisniewski
7216d22b81 Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-07-20 12:22:43 -04:00
Carsten "Tomcat" Book
d3578f9107 Backed out changeset 16fefebdbb50 (bug 1285036) for static build bustage 2016-07-21 06:14:41 +02:00
Carsten "Tomcat" Book
07fd1565ea Backed out changeset abbef296a82f (bug 1285036) 2016-07-21 06:14:28 +02:00
Carsten "Tomcat" Book
923c584b00 Backed out changeset 8a00db57d77a (bug 1285036) 2016-07-21 06:14:27 +02:00
Thomas Wisniewski
981f3fd0f0 Bug 1285036 - Part 9: Clean up the XHR send() API endpoints, and how nsIVariants are handled. r=baku 2016-07-20 13:02:54 -04:00
Thomas Wisniewski
a60a310934 Bug 1285036 - Part 8: Change XHR open() and related code to follow the spec more closely. r=baku 2016-07-20 13:02:36 -04:00
Thomas Wisniewski
be02be7b7a Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku 2016-07-20 12:22:43 -04:00
Thomas Wisniewski
788856b6e9 Bug 1082790 - Remove the nsIScriptContext parameter from nsXMLHttpRequest::Init(). r=mrbkap 2016-07-19 21:30:01 -04:00
Thomas Wisniewski
4de3b748ca Bug 918734 - Throw invalid state errors when XHRs fail their CheckInnerWindowCorrectness() checks, to match the XHR spec. r=khuey 2016-07-18 01:38:03 -04:00
Thomas Wisniewski
f45cd9f469 Bug 447689 - clean up XMLHttpRequest::Open so XHR readyState=1 events are fired according to spec. r=baku 2016-07-16 13:56:36 -04:00
Sebastian Hengst
17b885a74d Backed out changeset 9c0425073111 (bug 918703) for failing mochitest test_bug435425.html. r=backout 2016-07-17 12:56:43 +02:00
Sebastian Hengst
3fe1151012 Backed out changeset f52c26d677b0 (bug 918703) 2016-07-17 12:55:38 +02:00
Thomas Wisniewski
563ece4118 Bug 918703 - Part 2: Correct progress event logic so events are sent in the correct order and with the correct values according to spec. r=baku 2016-07-16 19:11:01 -04:00
Thomas Wisniewski
375122496e 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
32681f0939 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
72766ee190 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
5ae3f87ef5 Bug 1286744 - Return the empty string from GetAllResponseHeaders() if the XHR failed. r=smaug 2016-07-14 11:14:46 -04:00
Thomas Wisniewski
e217486fc0 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
e9b4657969 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
89b04ba9af Backed out changeset 643bfa8b72ba (bug 1207233) for bustage 2016-07-12 11:40:16 +02:00
Carsten "Tomcat" Book
085451dc7a Backed out changeset ff7dbda6a6d0 (bug 1207233) 2016-07-12 11:40:00 +02:00
Thomas Wisniewski
e892c7d08c 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
034e3669c0 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
Thomas Wisniewski
6c59eca2e7 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
8e0637cb5d 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
1fdbdc55c0 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
4f43589177 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
6bbb234a35 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
3129e2d34d 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
18df915282 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
9835e5b7d0 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
216bba91c8 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
474dd836e5 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
b0ce60e4a4 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
bfeb7dfcb6 Bug 924319 - do not include Content-Length for data URIs in XMLHttpRequest.getAllResponseHeaders. r=jst 2016-06-28 19:22:16 -04:00
Thomas Wisniewski
2102091a0f Bug 918773 - set responseXML.referrer to the empty string. r=jst 2016-06-30 14:01:25 -04:00
Benjamin Dahse
42b3a5d429 Bug 988831 - support memory mapped files in Windows. r=ehoogeveen 2016-06-30 14:32:13 +02:00
Andrea Marchesini
fded673891 Bug 1282253 - Get rid of XHR::ResponseTypeEnum, r=smaug 2016-06-27 19:13:41 +02:00
Andrea Marchesini
a454a64b7f Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug 2016-06-27 19:13:41 +02:00