gecko-dev/dom/fetch
Ehsan Akhgari 45c7ece733 Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet.  So we would need to re-evaluate this decision after that
information becomes available.  For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.

Differential Revision: https://phabricator.services.mozilla.com/D20901

--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
..
tests Bug 1515616 - Fix various DOM tests to use nsIFile.NORMAL_FILE_TYPE rather than the unknown nsIFile.FILE_TYPE. r=smaug 2018-12-20 18:17:22 +00:00
BodyExtractor.cpp Bug 1415508 - use Span in constructing a byte input stream; r=mayhemer 2019-02-25 19:11:20 +00:00
BodyExtractor.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
ChannelInfo.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
ChannelInfo.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
ChannelInfo.ipdlh
EmptyBody.cpp Bug 1515295 - fetch EmptyBody must make a uniqueptr of the principalInfo, r=edgar 2018-12-19 15:48:30 +01:00
EmptyBody.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Fetch.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
Fetch.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchConsumer.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
FetchConsumer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchDriver.cpp Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin 2019-02-26 21:30:27 +00:00
FetchDriver.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
FetchIPCTypes.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchObserver.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchObserver.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchStream.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchStream.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchStreamReader.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchStreamReader.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FetchTypes.ipdlh Bug 1513606 - Remove unused code in Fetch, r=smaug 2018-12-13 17:12:29 +01:00
FetchUtil.cpp Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp 2019-02-20 10:05:35 +00:00
FetchUtil.h Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp 2019-02-20 10:05:35 +00:00
Headers.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Headers.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
InternalHeaders.cpp Bug 1508699 - Fetch() should not send lowercase header names, r=asuth 2018-12-19 15:48:30 +01:00
InternalHeaders.h Bug 1508699 - Fetch() should not send lowercase header names, r=asuth 2018-12-19 15:48:30 +01:00
InternalRequest.cpp Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb 2019-02-12 13:16:32 +00:00
InternalRequest.h Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb 2019-02-12 13:16:32 +00:00
InternalResponse.cpp Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp 2019-02-20 10:05:35 +00:00
InternalResponse.h Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp 2019-02-20 10:05:35 +00:00
Request.cpp Bug 1517448 - Set PrincipalInfo for Request and Response objects, r=smaug 2019-01-03 19:24:30 +01:00
Request.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Response.cpp Bug 1517448 - Set PrincipalInfo for Request and Response objects, r=smaug 2019-01-03 19:24:30 +01:00
Response.h Bug 1487113 - Expose nsICacheInfoChannel in Respose object for wasm content-type, r=valentin,nbp 2019-02-20 10:05:35 +00:00
moz.build Bug 1500879 - Fetch should not consume Request/Response with null-body, r=asuth 2018-11-06 14:48:07 +01:00