Commit Graph

59 Commits

Author SHA1 Message Date
Patrick McManus
ab6e7d2757 Bug 1462357 - remove the channel and socket interface id r=bagder,baku
the id was a b2g feature only settable via chrome privd xhr and is no
longer active in the code base

MozReview-Commit-ID: 84GPNvhvjNb
2018-05-16 16:05:03 -04:00
Andrea Marchesini
4e031ddf89 Bug 1397151 - Remove the support for moz-chunk-text type in XHR, r=smaug 2017-09-22 07:18:49 +02:00
Andrea Marchesini
b54cd409f7 Bug 1397145 - Remove the support for moz-blob type in XHR, r=smaug 2017-09-22 07:18:14 +02:00
Andrea Marchesini
cd14912b8e Bug 1392358 - Introduce XHR.sendInputStream(nsIInputStream) chrome-only, r=smaug 2017-08-25 15:31:15 +02:00
Andrea Marchesini
341703b959 Bug 1392358 - Remove XHR.send(nsIInputStream) and unify XHR.send(params) as the spec says, r=smaug 2017-08-25 15:30:33 +02:00
Chris H-C
3bbd123928 Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku
This is presently only relevant for XHRMT, so XHRWorker will just report that
everything's a-ok for now.

As noted inline, the permanence of this measure is to be evaluated in
Firefox 60 in bug 1368540.

MozReview-Commit-ID: 6gkTyZO388g
2017-05-24 08:52:15 -04:00
Sebastian Hengst
278ae6467f Backed out changeset 1b93ec532890 (bug 1367110) 2017-05-31 21:02:11 +02:00
Chris H-C
b087ac83a5 Bug 1367110 - Expose XHRMT's ErrorCode to chrome JS. r=baku
This is presently only relevant for XHRMT, so XHRWorker will just report that
everything's a-ok for now.

As noted inline, the permanence of this measure is to be evaluated in
Firefox 60 in bug 1368540.

MozReview-Commit-ID: 6gkTyZO388g
2017-05-24 08:52:15 -04:00
Andrea Marchesini
a62422f1e3 Bug 1333337 - Use USVString in XHR, r=smaug 2017-01-24 09:23:11 +01: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
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
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
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
Andrea Marchesini
a454a64b7f Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug 2016-06-27 19:13:41 +02:00
Thomas Wisniewski
fd27502063 Bug 918733 - have overrideMimeType throw INVALID_STATE_ERR if the XHR is in the DONE or LOADING states. r=sicking 2016-06-13 21:56:15 -04:00
Ehsan Akhgari
17fbd91aab Bug 931243 - Remove the XMLHttpRequest APIs from ServiceWorkerGlobalScope; r=bzbarsky 2015-10-20 13:16:34 -04:00
Henry Chang
6279f016d9 Bug 1053650 - Part 1: Add attribute 'networkInterfaceId' to XMLHttpRequest. r=bz 2015-03-03 09:09:07 +08:00
Dirkjan Ochtman
41803e1066 Bug 853162 - Remove XMLHttpRequest.sendAsBinary() interface. r=smaug
Should use send(Blob) instead. Thanks to Ms2ger for help fixing test failures.
2015-02-08 17:01:44 +01:00
Boris Zbarsky
fe5c589f75 Bug 1127501. Treat external interfaces as only being exposed in Window in Web IDL bindings. r=peterv 2015-02-09 11:42:27 -05:00
Andrea Marchesini
539efa95b3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
ac4e3f2f99 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE
2014-10-07 13:16:11 -04:00
Andrea Marchesini
725b2db832 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Boris Zbarsky
f0660bb291 Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
b0a271cb1b Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Ms2ger
e8c0f35fef Bug 1035242 - Make XMLHttpRequest.mozBackgroundRequest chrome-only; r=jst 2014-07-10 20:22:46 +02:00
xKhorasan
8506a47137 Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug 2014-05-17 09:24:37 +09:00
Kyle Huey
d5105d151b Bug 928312: Convert the worker global object and all remaining EventTargets to new DOM bindings. r=bent,peterv,smaug 2013-11-05 22:16:26 +08:00
Boris Zbarsky
45b3df4eb0 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Ed Morley
428c6583be Backed out changeset ccf11ae08ba2 (bug 882541) 2013-10-14 17:30:43 +01:00
Boris Zbarsky
f30d83dfb4 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Olli Pettay
6faa270649 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
James Kitchener
1f3bbb13ac Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz 2013-06-13 01:20:10 -04:00
Henri Sivonen
7778611de3 Bug 843508 - Remove support for multipart XHR responses. r=jst. 2013-03-04 11:06:15 +02:00
Boris Zbarsky
1229b867d2 Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Boris Zbarsky
3b5d024c46 Bug 819741. Add support for passing an ArrayBufferView to XHR.send(). r=sicking,bent 2012-12-19 17:47:39 -08:00
Ms2ger
5d81ba2971 Bug 776539 - Move FormData to Paris bindings; r=bz 2012-12-11 19:09:56 +01:00
Boris Zbarsky
dfd03e1509 Bug 814050. XMLHttpRequest.withCredentials header should throw on main thread too, in some cases. r=peterv 2012-11-27 15:20:40 -05:00
Boris Zbarsky
a265c27af7 Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv 2012-10-10 15:53:02 -04:00
Boris Zbarsky
cd63ad6e85 Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
Boris Zbarsky
b4a1565db0 Bug 789636. Make getInterface on XHR and QueryInterface on all WebIDL objects be [ChromeOnly]. r=peterv 2012-09-11 20:08:24 +01:00
Boris Zbarsky
0f66da64bf Bug 788369. Allow passing strings to the XHR constructor, since CoffeeScript seems to want to do it. r=peterv 2012-09-07 11:07:12 -04:00
Boris Zbarsky
5c7f2bd007 Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv
The valid annotations are [Throws], [GetterThrows], and [SetterThrows], which can all either take no value or
be set to MainThread or Workers if the throwing behavior is only happening on main thread or in workers
2012-09-05 09:21:33 -04:00
Boris Zbarsky
32ce5b0e50 Bug 778150 part 2. Default methods to infallible. Allow annotation of fallible methods in WebIDL using [Throws]. r=peterv
[Throws] can either take no value, or can take MainThread or Workers if the
throwing behavior is only happening on main thread or in workers.
2012-09-05 09:21:33 -04:00
Boris Zbarsky
b08261e633 Bug 777415. Disallow GetterInfallible/SetterInfallible annotations where they don't make sense. r=khuey 2012-07-27 00:09:10 -04:00
Boris Zbarsky
04cda1ef32 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell
1f76727a57 Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
c76fafbf98 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Boris Zbarsky
b43895cb44 Bug 768537 part 1. Update parser support for dictionaries to spec changes. r=jlebar
There are several parts here:

1)  Enforce the requirement that dictionary arguments not followed by a required argument are optional.
2)  Make dictionaries no longer be distinguishable from nullable types.
3)  Disallow dictionaries or unions containing dictionaries inside a nullable type.
4)  Force optional dictionaries to have a default value of null so that codegen doesn't have to worry about dealing with
    optional arguments that have no default value in the IDL but need to be treated as if they were null.
2012-07-17 12:18:53 -04:00