Nika Layzell
d036b747e7
Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8
...
Rather than adding a native type for nsID objects in WebIDL, this patch just
takes the approach of switching consumers over to using 'any' and calling the
APIs defined in Part 1.
Differential Revision: https://phabricator.services.mozilla.com/D2283
2018-11-16 17:27:39 -05:00
Cosmin Sabou
679b5e2db1
Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
...
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight
93b3b0138c
Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
...
This patch was generated by my modeline.py script.
MozReview-Commit-ID: EbVjPLwiUAT
Depends on D4159
Differential Revision: https://phabricator.services.mozilla.com/D4161
--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Patrick McManus
f18aa94399
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
--HG--
extra : rebase_source : ab5c2229b98e1407b8b74ef2ee00dcfea45e046a
2018-05-16 16:05:03 -04:00
Andrea Marchesini
b49b5f31c9
Bug 1397151 - Remove the support for moz-chunk-text type in XHR, r=smaug
2017-09-22 07:18:49 +02:00
Andrea Marchesini
2071ba4680
Bug 1397145 - Remove the support for moz-blob type in XHR, r=smaug
2017-09-22 07:18:14 +02:00
Andrea Marchesini
8aeaa4ff79
Bug 1392358 - Introduce XHR.sendInputStream(nsIInputStream) chrome-only, r=smaug
2017-08-25 15:31:15 +02:00
Andrea Marchesini
a1e210edec
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
b92d148caa
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
--HG--
extra : rebase_source : d85ec4181c9bd935f8e419d8d450fd17eb5e1837
2017-05-24 08:52:15 -04:00
Sebastian Hengst
0c1ac2aec4
Backed out changeset 1b93ec532890 (bug 1367110)
2017-05-31 21:02:11 +02:00
Chris H-C
4b7c69cdd1
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
--HG--
extra : rebase_source : d85ec4181c9bd935f8e419d8d450fd17eb5e1837
2017-05-24 08:52:15 -04:00
Andrea Marchesini
53d0db2a5c
Bug 1333337 - Use USVString in XHR, r=smaug
2017-01-24 09:23:11 +01:00
Thomas Wisniewski
b8a8b73745
Bug 933759 - Match the spec's IDL for the XHR open method. r=baku
...
--HG--
extra : rebase_source : 0fec6c032b30736c8979657e3b87db5ca630df6c
2016-09-12 09:48:30 -04:00
Andrea Marchesini
c9c3bfe617
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
69ed1a79e4
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
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
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
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
Thomas Wisniewski
2e6fa0f5fe
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
8ab0d9d2f8
Bug 931243 - Remove the XMLHttpRequest APIs from ServiceWorkerGlobalScope; r=bzbarsky
2015-10-20 13:16:34 -04:00
Henry Chang
41c41098cf
Bug 1053650 - Part 1: Add attribute 'networkInterfaceId' to XMLHttpRequest. r=bz
...
--HG--
extra : rebase_source : 4d1342b2cbd14468596fe80788f92f2635aad29d
2015-03-03 09:09:07 +08:00
Dirkjan Ochtman
44c3ce11ad
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
efe41d396b
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
7491bee8c3
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
cd3e8a6f73
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
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
d272279126
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
26b26e1121
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
12b78b9612
Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey
2014-08-04 22:20:34 -04:00
Ms2ger
93473218d2
Bug 1035242 - Make XMLHttpRequest.mozBackgroundRequest chrome-only; r=jst
2014-07-10 20:22:46 +02:00
xKhorasan
fb8cfc497a
Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug
2014-05-17 09:24:37 +09:00
Kyle Huey
020d8b6c36
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
20b04d6057
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
0f6d579260
Backed out changeset ccf11ae08ba2 (bug 882541)
2013-10-14 17:30:43 +01:00
Boris Zbarsky
ce891d2c00
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
9283cd2a76
Bug 916879, remove SetterThrows from eventhandlers, r=emk
2013-09-17 14:01:28 +03:00
James Kitchener
773d6fa5ec
Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz
2013-06-13 01:20:10 -04:00
Henri Sivonen
a9440b263c
Bug 843508 - Remove support for multipart XHR responses. r=jst.
2013-03-04 11:06:15 +02:00
Boris Zbarsky
f267cd20a4
Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv
2012-12-23 14:33:33 -08:00
Boris Zbarsky
334fc07ca1
Bug 819741. Add support for passing an ArrayBufferView to XHR.send(). r=sicking,bent
2012-12-19 17:47:39 -08:00
Ms2ger
8fc67dfff7
Bug 776539 - Move FormData to Paris bindings; r=bz
2012-12-11 19:09:56 +01:00
Boris Zbarsky
0ec259a019
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
7f28e933c6
Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv
2012-10-10 15:53:02 -04:00
Boris Zbarsky
b97e3a8dcd
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
3d77a4f3b0
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
795db28096
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
1bd799df56
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
7a3efb15c4
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
26271bae45
Bug 777415. Disallow GetterInfallible/SetterInfallible annotations where they don't make sense. r=khuey
2012-07-27 00:09:10 -04:00
Boris Zbarsky
28e194f0fa
Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking
2012-07-21 22:28:26 -04:00