Mihai Alexandru Michis
f3ba6ba32f
Backed out 7 changesets (bug 1583700) for causing raptor dom failures.
...
Backed out changeset 48ceb0dd5d09 (bug 1583700)
Backed out changeset c662a369062f (bug 1583700)
Backed out changeset dc9e317da307 (bug 1583700)
Backed out changeset 41e07201a158 (bug 1583700)
Backed out changeset 015ec42c311a (bug 1583700)
Backed out changeset cfb571dd120a (bug 1583700)
Backed out changeset b9d06db6d43c (bug 1583700)
2019-10-22 03:57:07 +03:00
Matt Woodrow
c6fc3268fc
Bug 1583700 - Copy hasNonEmptySandboxingFlags across with DocumentChannel so that it can be set on the nHttpChannel in the parent. r=JuniorHsu,valentin
...
Depends on D49870
We fail coop-sandbox.https.html without this, since the changes in bug 1566868 don't apply to DocumentChannel.
Differential Revision: https://phabricator.services.mozilla.com/D49871
--HG--
extra : moz-landing-system : lando
2019-10-21 20:47:28 +00:00
Junior Hsu
2bf558c130
Bug 1566868 - network error for non empty sandboxing flag and non-null COOP r=valentin
...
Adjust for new spec change (comment 23)
Differential Revision: https://phabricator.services.mozilla.com/D49222
--HG--
extra : moz-landing-system : lando
2019-10-15 06:09:26 +00:00
Honza Bambas
976b757c89
Bug 1584207 - Forward nsILoadInfo.requestBlockingReason to the parent process for both old and new redirect channels, r=dragana,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D47264
--HG--
extra : moz-landing-system : lando
2019-10-01 16:50:23 +00:00
Christoph Kerschbaumer
28f91efa92
Bug 1584992: Make upgrade-insecure-requests work with fission enabled. r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D47650
--HG--
extra : moz-landing-system : lando
2019-09-30 21:33:28 +00:00
Ehsan Akhgari
d11436d012
Bug 1575302 - Remove OptionalPrincipalInfo; r=barret
...
Differential Revision: https://phabricator.services.mozilla.com/D45565
--HG--
extra : moz-landing-system : lando
2019-09-11 20:36:06 +00:00
Daisuke Akatsuka
a65bd31ef9
Bug 1572933: Introduce an attribute to raise the cache priority. r=pbro,mayhemer
...
For now, when we turn on `disable cache` switch in DevTools[1], web page loads
the contents without using the cache. Furthermore, DevTools as well comes to
load the contents DevTools inspects without using the cache. And, if the loaded
contents from the web page and DevTools was different, becomes impossible to
inspect the content correctly.
Thus, in order to make DevTools refer the same content the web page loaded,
makes DevTools load the contents inspecting from the cache at first, no matter
if disables the switch or not.
When turns on disable cache in DevTools, `LOAD_BYPASS_CACHE` flag is set into
`loadFlags` in the `docshell`.[2] The other hand, the content DevTools inspects
is loaded from a channel DevTools creates with `LOAD_FROM_CACHE` flag.[3]
However, because this channel is belong to same `loadGroup` of the `docshell`,
`LOAD_BYPASS_CACHE` is inherited and is choosen even if `LOAD_FROM_CACHE` is set.
Thus, in this patch, we introduce an attribute `preferCacheLoadOverBypass`
which raises the priority for `LOAD_FROM_CACHE` above `LOAD_BYPASS_CACHE` and
`LOAD_BYPASS_LOCAL_CACHE`.
[1] https://developer.mozilla.org/en-US/docs/Tools/Settings#Advanced_settings
[2] https://searchfox.org/mozilla-central/source/devtools/server/actors/targets/browsing-context.js#1227
[3] https://searchfox.org/mozilla-central/source/devtools/shared/DevToolsUtils.js#542-544
Differential Revision: https://phabricator.services.mozilla.com/D44626
--HG--
extra : moz-landing-system : lando
2019-09-09 00:57:05 +00:00
Matt Woodrow
1b5f7c772a
Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer
...
DocumentChannel acts as a replacement for HttpChannel where redirects are now entirely handled in the DocumentChannelParent. The ContentChild will receive the final nsIChannel once all redirects have been handled.
Differential Revision: https://phabricator.services.mozilla.com/D37490
2019-09-03 10:19:38 +10:00
Ehsan Akhgari
575c480fc5
Bug 1572240 - Part 3: Introduce nsIHttpChannelInternal.contentBlockingAllowListPrincipal; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D42204
--HG--
extra : moz-landing-system : lando
2019-08-19 19:38:50 +00:00
Thomas Nguyen
034395aea7
Bug 1572082 - Remove unused params in HttpChannelOpenArgs r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D41000
--HG--
extra : moz-landing-system : lando
2019-08-07 13:47:03 +00:00
Sebastian Streich
6917b697b8
Bug 1428473 Support X-Content-Type-Options: nosniff when navigating r=ckerschb,dragana,alchen
...
***
Apply Requested Revision
Differential Revision: https://phabricator.services.mozilla.com/D33959
--HG--
extra : moz-landing-system : lando
2019-07-31 16:59:53 +00:00
Benjamin
6da0bbfd32
Bug 1566453: Added flag to detect if a load was initiated by a form submission r=ckerschb
...
The flag in loadinfo can be used to detect if a load was initiated by a form submission. This is crucial for implmenting the CSP directive navigate-to. https://www.w3.org/TR/CSP3/#navigate-to-pre-navigate
Differential Revision: https://phabricator.services.mozilla.com/D38403
--HG--
extra : moz-landing-system : lando
2019-07-22 13:41:47 +00:00
Valentin Gosu
2cd34ccec7
Bug 1555036 - If there is a Cross-Origin-Opener-Policy mismatch and the SANDBOXED_AUXILIARY_NAVIGATION is set navigate to a network error r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D34420
--HG--
extra : moz-landing-system : lando
2019-06-14 21:48:51 +00:00
Sebastian Streich
5462226932
Bug 1450965 Skip Cors Check for Early WebExtention Redirects r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D30509
--HG--
extra : moz-landing-system : lando
2019-06-13 09:57:13 +00:00
Andrea Marchesini
382a3aa030
Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D32482
--HG--
extra : moz-landing-system : lando
2019-06-05 12:19:54 +00:00
Andrea Marchesini
ff8aaf2236
Bug 1554377 - Cleanup nsCookie implementation - simpler nsCookie, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32562
--HG--
extra : moz-landing-system : lando
2019-05-31 09:31:47 +00:00
Csoregi Natalia
a51ae3670f
Backed out 5 changesets (bug 1551798) for failures on test_rawSameSite.js. CLOSED TREE
...
Backed out changeset 11ddc433b632 (bug 1551798)
Backed out changeset f2ac8efb023d (bug 1551798)
Backed out changeset 0f6e797b434f (bug 1551798)
Backed out changeset eae7f88660c8 (bug 1551798)
Backed out changeset 2ba747afb3d0 (bug 1551798)
2019-05-30 10:17:01 +03:00
Andrea Marchesini
84e139e50b
Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32482
--HG--
extra : moz-landing-system : lando
2019-05-29 16:34:33 +00:00
arthur.iakab
944263f18a
Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
...
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
d5fdfc9e8c
Bug 1551798 - Store sameSite value as received from the wire in the database - migration 10, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D32482
--HG--
extra : moz-landing-system : lando
2019-05-27 05:11:54 +00:00
Christoph Kerschbaumer
b633427366
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Thomas Nguyen
23e61a2595
Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
...
Differential Revision: https://phabricator.services.mozilla.com/D22783
--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +00:00
Dana Keeler
c90cfeaf74
bug 1441989 - remove ContentVerifier r=baku,mayhemer
...
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.
Differential Revision: https://phabricator.services.mozilla.com/D28885
--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Ehsan Akhgari
941a844392
Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D27393
--HG--
extra : moz-landing-system : lando
2019-04-15 13:05:10 +00:00
Valentin Gosu
1a2cdd14be
Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
...
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()
Differential Revision: https://phabricator.services.mozilla.com/D24897
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
06334e695a
Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23935
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Alex Gaynor
aad50392d8
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-15 12:55:10 +00:00
Andreea Pavel
af20d1c10b
Backed out changeset a5beba8cc190 (bug 1534364
) for assertion failures
2019-03-14 23:14:31 +02:00
Alex Gaynor
2b1e080e64
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-14 19:40:20 +00:00
Alex Gaynor
a5de0693af
Bug 1535046 - Part 4 - remove unused 'using' statements from IDPL; r=valentin
...
Depends on D23346
Differential Revision: https://phabricator.services.mozilla.com/D23347
--HG--
extra : moz-landing-system : lando
2019-03-13 18:50:26 +00:00
Alex Gaynor
c3cb34c967
Bug 1535046 - Part 2 - use native Maybe syntax in place of OptionalCorsPreflightArgs in IDPL; r=valentin
...
Depends on D23344
Differential Revision: https://phabricator.services.mozilla.com/D23345
--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:06 +00:00
Alex Gaynor
0a7f3758a4
Bug 1535046 - Part 1 - use native Maybe syntax in place of OptionalHttpResponseHead in IDPL; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23344
--HG--
extra : moz-landing-system : lando
2019-03-13 18:46:59 +00:00
Andrea Marchesini
43beb5b35b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-08 09:00:06 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
f44f894eb1
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-07 10:14:36 +00:00
Alex Gaynor
9a784d8ef8
Bug 1533066 - replace OptionalIPCClientInfo with IPCClientInfo? in IPDL; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D22332
--HG--
extra : moz-landing-system : lando
2019-03-06 17:57:04 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
2fb61cb48b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:39 +00:00
Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Alex Gaynor
d3a1bdd83c
Bug 1532368 - replace OptionalPrincipalInfo with PrincipalInfo? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21972
--HG--
extra : moz-landing-system : lando
2019-03-05 14:41:42 +00:00
Alex Gaynor
dccb3bee8b
Bug 1531827
- replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21722
--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Ciure Andrei
8d2894e70d
Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE
...
Backed out changeset 009e7457b990 (bug 1525245)
Backed out changeset efb2e8fca464 (bug 1525245)
Backed out changeset 6a8401de3237 (bug 1525245)
Backed out changeset 38e802661b14 (bug 1525245)
Backed out changeset d02e3f436390 (bug 1525245)
Backed out changeset 10afd61b7582 (bug 1525245)
Backed out changeset 6b92fb3666d1 (bug 1525245)
Backed out changeset 476af2d7efe5 (bug 1525245)
Backed out changeset 43ad14e323a1 (bug 1525245)
Backed out changeset 94295e3fb027 (bug 1525245)
Backed out changeset d01ead2270e9 (bug 1525245)
Backed out changeset 6bdda622a04a (bug 1525245)
2019-02-28 00:55:39 +02:00
Andrea Marchesini
dec5a16bcd
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-27 19:55:11 +00:00
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
Gurzau Raul
a12ddd1865
Backed out 11 changesets (bug 1525245) for failing at test_cookies_thirdparty.js on a CLOSED TREE.
...
Backed out changeset 1dcb31a1d5be (bug 1525245)
Backed out changeset 4cde0e38ada8 (bug 1525245)
Backed out changeset d3e99dd3fc32 (bug 1525245)
Backed out changeset a565014fdd8d (bug 1525245)
Backed out changeset 20f336320ce1 (bug 1525245)
Backed out changeset d8ee13b6a17d (bug 1525245)
Backed out changeset b79ec111bf41 (bug 1525245)
Backed out changeset 858d08371107 (bug 1525245)
Backed out changeset 1c359cdcf69f (bug 1525245)
Backed out changeset d65fb2d2a243 (bug 1525245)
Backed out changeset 28147c8790d3 (bug 1525245)
2019-02-26 22:09:25 +02:00
Andrea Marchesini
309c007d8d
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-26 17:34:36 +00:00
Nika Layzell
4b1ca2241a
Bug 1528493 - Part 2: Move OptionalIPCStream to use new maybe types, r=baku
...
Depends on D20067
Differential Revision: https://phabricator.services.mozilla.com/D20068
--HG--
extra : moz-landing-system : lando
2019-02-22 18:46:14 +00:00
Andrea Marchesini
64d3f6f9da
Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20200
--HG--
extra : moz-landing-system : lando
2019-02-20 10:05:42 +00:00
Ciure Andrei
fe3f244555
Backed out 3 changesets (bug 1487113) for perma failing test_alt-data_stream_wrap.js CLOSED TREE
...
Backed out changeset 831ac8c662c0 (bug 1487113)
Backed out changeset a8406df01e95 (bug 1487113)
Backed out changeset 1e97c3573ce6 (bug 1487113)
2019-02-19 11:43:13 +02:00