Commit Graph

44 Commits

Author SHA1 Message Date
Andrea Marchesini
1df07a3979 Bug 1395141 - RequestInit dictionary must have AbortSignal as optional, r=bkelly 2017-08-30 18:47:23 +02:00
Andrea Marchesini
f533937740 Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly 2017-08-29 11:31:06 +02:00
Andrea Marchesini
031018437a Bug 1378342 - AbortSignal/AbortController - part 4 - Separate pref for AbortSignal/AbortController, r=bkelly
--HG--
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_abort_controller_fetch.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_abort_controller_fetch.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_abort_controller_fetch.js
2017-08-29 11:31:06 +02:00
Andrea Marchesini
186795d3eb Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 11:31:06 +02:00
Sebastian Hengst
ffe4336403 Backed out changeset e5c6f95530f2 (bug 1378342)
--HG--
rename : dom/abort/AbortController.cpp => dom/abort/FetchController.cpp
rename : dom/abort/AbortController.h => dom/abort/FetchController.h
rename : dom/abort/AbortSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/abort/AbortSignal.h => dom/abort/FetchSignal.h
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_fetch_controller.js
rename : dom/webidl/AbortController.webidl => dom/webidl/FetchController.webidl
rename : dom/webidl/AbortSignal.webidl => dom/webidl/FetchSignal.webidl
2017-08-29 09:17:21 +02:00
Sebastian Hengst
12299a2c87 Backed out changeset bded779447b2 (bug 1378342)
--HG--
rename : dom/abort/tests/worker_abort_controller_fetch.js => dom/abort/tests/worker_abort_controller.js
2017-08-29 09:17:10 +02:00
Sebastian Hengst
80e618e605 Backed out changeset 2c6f49d73935 (bug 1378342) 2017-08-29 09:16:59 +02:00
Andrea Marchesini
afa1c0c6c4 Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly 2017-08-29 07:30:21 +02:00
Andrea Marchesini
60b5326da5 Bug 1378342 - AbortSignal/AbortController - part 4 - Separate pref for AbortSignal/AbortController, r=bkelly
--HG--
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_abort_controller_fetch.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_abort_controller_fetch.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_abort_controller_fetch.js
2017-08-29 07:30:20 +02:00
Andrea Marchesini
9b66f91da8 Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 07:30:19 +02:00
Andrea Marchesini
cd6bd71606 Bug 1341738 - Implement FetchController and FetObserver - part 4 - FetchObserver WebIDL, r=bkelly 2017-03-22 11:06:23 +01:00
Andrea Marchesini
8552a5e7ba Bug 1341738 - Implement FetchController and FetObserver - part 1 - FetchController in WebIDL, r=bkelly 2017-03-22 11:04:57 +01:00
Thomas Nguyen
b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Tom Tung
a167b66e90 Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly. 2016-09-07 10:20:23 +08:00
Andrew Sutherland
af016de2cb Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache.  There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Ehsan Akhgari
756a1054f9 Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm 2016-04-20 14:21:34 -04:00
Marcos Caceres
f7ad23868a Bug 1250048 - CSP manifest-src doesn't override default-src. r=ckerschb,bkelly,ehsan
MozReview-Commit-ID: Ceu3sYUcML4
2016-04-07 14:13:09 -07:00
Ehsan Akhgari
24fbc15619 Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-11 14:40:53 -05:00
Ryan VanderMeulen
e98112b9bd Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)

CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari
8508bae9bf Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-10 17:29:11 -05:00
Wes Kocher
53011a6a05 Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)

MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari
017bf0f2b6 Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly 2016-03-09 16:45:01 -05:00
Ehsan Akhgari
38637e2005 Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm 2016-03-03 16:43:55 -05:00
Ehsan Akhgari
36207d26f5 Bug 1251448 - Add support for RequestInit.referrer; r=jdm 2016-03-02 18:18:27 -05:00
Ehsan Akhgari
40429e1dd8 Bug 1250987 - Make RequestInit.body nullable; r=bzbarsky 2016-02-25 09:12:42 -05:00
Ehsan Akhgari
47f74311fc Bug 1250986 - Make Request.referrer a USVString; r=bzbarsky 2016-02-25 09:11:35 -05:00
Ehsan Akhgari
d08dcc913c Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly 2016-01-19 17:46:10 -05:00
Ehsan Akhgari
61ec7f09b3 Bug 1240161 - Remove "only-if-cached" from RequestCache; r=bkelly 2016-01-15 16:24:16 -05:00
Ehsan Akhgari
383397be38 Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky 2015-10-23 15:38:47 -04:00
Jonas Sicking
7bf7cbbd1a Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly 2015-10-19 18:24:36 -07:00
Ben Kelly
1aac03c7c0 Bug 1184607 P1 Update webidl for RequestRedirect and 'opaqueredirect' in ResponseType. r=ehsan 2015-08-31 14:26:29 -07:00
Ehsan Akhgari
aeacbc159a Bug 1188062 - Unship Request.context; r=baku 2015-07-30 08:14:00 -04:00
Ehsan Akhgari
cd8eec31d9 Bug 1174868 - Avoid storing RequestContext inside InternalRequest; r=nsm,bkelly,smaug
We are going to infer all RequestContext types from the corresponding
nsContentPolicyType. It no longer makes sense to store both of these on
InternalRequest.  This has the extra benefit that we don't need to worry
about keeping them in sync any more.
2015-06-15 21:36:04 -04:00
Ehsan Akhgari
fe838f3834 Bug 1174849 - Remove "serviceworker" from RequestContext; r=smaug,bkelly 2015-06-15 21:36:01 -04:00
Nikhil Marathe
af18a63f82 Bug 1133861 - Enable the Fetch API by default. r=jst
--HG--
extra : rebase_source : 97dc853238ad7ce4cec7277c4732bf3f4ec1b962
2015-02-22 01:52:10 -08:00
Ben Kelly
e3f6f3f034 Bug 1073231 Implement Request and Response Clone() methods. r=nsm r=baku 2015-02-19 20:24:24 -05:00
Nikhil Marathe
058dd6da1c Bug 1124638 - Allow chrome to set Request context. r=baku
--HG--
extra : rebase_source : d47b0304a5558d613ab0a0993dd47da771da5783
2015-01-27 16:02:12 -08:00
Nikhil Marathe
b53e5f1ae8 Bug 1119037 - Add context attribute to Request. r=baku
--HG--
extra : transplant_source : p%1Cr%13%ED%F8%B1%B8D%9B%DC5%C6%EFEQD%CC%A2l
2015-01-27 15:43:09 -08:00
Nikhil Marathe
2b1d550dca Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.

--HG--
extra : rebase_source : 3a70d53965def8fe02deec307367b9fda3458935
2015-01-07 16:24:40 -08:00
Ryan VanderMeulen
ea9aaf976e Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage. 2015-01-13 13:26:52 -05:00
Nikhil Marathe
7fd4527a9a Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.

--HG--
extra : rebase_source : 0b621e13dc5cdbf740fb7d380f96f1380cd5a3eb
extra : amend_source : 7ced6d36ed7212271163c6aa1baacc7d5ca39647
2015-01-07 16:24:40 -08:00
Andrea Marchesini
9d30f59efd Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Nikhil Marathe
36db9eff13 Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
--HG--
extra : transplant_source : o%29%0E%5D%90%11%FA%1ExO%26%7E%9D_%F2%E7%0B%FE%21%B2
2014-10-06 11:01:20 -07:00
Nikhil Marathe
98a91cf36f Bug 1017613 - Part 1 - Fetch Body and Request. r=baku
--HG--
extra : transplant_source : R%AF%84%A2%29W%B8%86%D2o%DB%D4G%B2%D8%87%25i%0D%BE
2014-07-24 17:53:03 -07:00