Sebastian Hengst
75a340d81c
Backed out changeset 6a0c2912650a (bug 1318506)
2016-12-01 13:35:27 +01:00
Bill McCloskey
427415beb0
Bug 1318506 - Label XHR timer runnables with DocGroup (r=bkelly)
...
MozReview-Commit-ID: LYB8LFuVs1w
2016-11-30 18:01:59 -08:00
Thomas Wisniewski
c3b9d5231e
Bug 1311798 - Align XMLHttpRequest.abort() with the spec. r=baku
2016-11-21 01:30:00 -05:00
Sebastian Hengst
d096fce805
Backed out changeset 3421c306d8cf (bug 1311798) for failing event-readystatechange-loaded.htm and unexpected passes. r=backout
2016-11-20 21:39:59 +01:00
Thomas Wisniewski
232623e4b1
Bug 1311798 - Align XMLHttpRequest.abort() with the spec. r=baku
2016-11-20 09:32:00 -05:00
Andrea Marchesini
884f0f2753
Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug
2016-10-16 08:46:10 +02:00
Andrea Marchesini
54eb072b73
Bug 1306235 - XHR should set lengthComputable only if total value is set, r==smaug
2016-10-06 16:13:08 +02:00
Andrea Marchesini
0d8a61f94a
Bug 1202006 - Memory Blob to Temporary File - part 4 - Temporary File, r=smaug
2016-09-29 07:12:56 +02:00
Andrea Marchesini
1c6afd5164
Bug 1202006 - Memory Blob to Temporary File - part 3 - BlobSet and MutableBlobStorage for XHR, r=smaug
2016-09-29 07:12:37 +02:00
Andrea Marchesini
8d8c4c96ec
Bug 1202006 - Memory Blob to Temporary File - part 1 - MutableBlobStorage for XHR, r=smaug
2016-09-29 07:12:00 +02:00
Carsten "Tomcat" Book
026a431f8e
Backed out changeset 218abd044ee6 (bug 1202006) for bustage
2016-09-28 15:04:02 +02:00
Carsten "Tomcat" Book
8c8d18b08b
Backed out changeset abd96b988887 (bug 1202006)
2016-09-28 15:03:50 +02:00
Carsten "Tomcat" Book
ac3a255cec
Backed out changeset 13637a65df3b (bug 1202006)
2016-09-28 15:03:48 +02:00
Andrea Marchesini
af96ba8cd5
Bug 1202006 - Memory Blob to Temporary File - part 4 - Temporary File, r=smaug
2016-09-28 14:39:03 +02:00
Andrea Marchesini
c6f82bb3bd
Bug 1202006 - Memory Blob to Temporary File - part 3 - BlobSet and MutableBlobStorage for XHR, r=smaug
2016-09-28 14:38:41 +02:00
Andrea Marchesini
489b737ca0
Bug 1202006 - Memory Blob to Temporary File - part 1 - MutableBlobStorage for XHR, r=smaug
2016-09-28 14:37:54 +02:00
Ryan VanderMeulen
304af31599
Backed out changeset 4bdbbae12cb3 (bug 918719) for causing webcompat issues.
2016-09-27 15:58:01 -04:00
Boris Zbarsky
e893d620ea
Bug 1096267. Stop calling into the nsIInputStream overload of XMLHttpRequest.send() if a random object is passed in (except in chrome code, where we will keep doing that). r=smaug
2016-09-22 16:58:37 +01:00
Thomas Wisniewski
cb01f59c0c
Bug 1302623 - Refactor XHR.open() methods to remove use of Optionals and correct auth handling. r=smaug
2016-09-14 14:50:58 -04:00
Thomas Wisniewski
d4ed285c00
Bug 918719 - Only fire one loading readystatechange per XHR, but keep the old behavior available behind the preference dom.send_multiple_xhr_loading_readystatechanges. r=smaug
2016-09-12 22:39:01 -04:00
Thomas Wisniewski
df8aff7f0e
Bug 933759 - Match the spec's IDL for the XHR open method. r=baku
2016-09-12 09:48:30 -04:00
Andrea Marchesini
dab3a03215
Bug 1249739 - Improve performance in XHR in workers - part 3 - Implement XMLHttpRequestStringSnapshot, r=smaug
2016-09-12 09:06:33 +02:00
Andrea Marchesini
74177ca548
Bug 1249739 - Improve performance in XHR in workers - part 2 - Implement XMLHttpRequestString, r=smaug
2016-09-12 09:06:06 +02:00
Andrea Marchesini
addcefa927
Bug 1249739 - Improve performance in XHR in workers - part 1 - XHR.responseText must be cached, r=smaug
2016-09-12 09:05:42 +02:00
Thomas Wisniewski
c030c85638
Bug 289714 - Do not write <parsererror> nodes for invalid XML documents in XMLHttpRequests made by web content. r=billm, r=bz
2016-08-29 16:30:36 -04:00
Yoshi Huang
b5e2e5d8e6
Bug 1244340 - Part 2: add setOriginAttributes in nsIXMLHttpRequest. r=sicking
...
Add a ChromeOnly method called 'setOriginAttributes' on the XMLHttpRequest,
so that we can override the origin attributes for those XHRs running by XUL
(which will use System Principal).
2016-08-26 18:59:00 +08:00
Thomas Wisniewski
4ab01f11bd
Bug 1046816 - Hold/DropJSObjects properly in main thread XHR. r=smaug
2016-08-20 11:43:02 -04:00
Thomas Wisniewski
ef338bef55
Bug 1285036 - Part 11: Factor the actual fetch-related code out of XHR Send() and into its own function, InitiateFetch(). r=smaug
2016-08-18 20:16:00 -04:00
Thomas Wisniewski
67fbd6985b
Bug 1285036 - Part 10: Factor the request-header XHR code out into its own class. r=smaug
2016-08-18 20:15:37 -04:00
Nicholas Nethercote
8f3c6e7c32
Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
...
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.
This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.
2016-08-12 17:36:22 +10:00
Thomas Wisniewski
c086657511
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-08-05 23:47:40 -04:00
Thomas Wisniewski
3fa07044d3
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-08-03 21:58:17 -04:00
Thomas Wisniewski
6073862943
Bug 1285036 - Part 9: Clean up the XHR send() API endpoints, and how nsIVariants are handled. r=baku
2016-08-01 14:28:01 -04:00
Thomas Wisniewski
7d5874ae43
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
a490c7fdbb
Bug 1285036 - Part 7: Change SetRequestHeader() and related header code to follow the spec more closely. r=baku
2016-08-02 12:50:10 -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
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
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
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
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