Commit Graph

115 Commits

Author SHA1 Message Date
Dana Keeler
bcf86d718f Bug 1608307 - remove redundant flags parameters from nsISiteSecurityService r=jschanck,necko-reviewers,kershaw
Before this patch, nsISiteSecurityService APIs took "flags" parameters that
differentiated private contexts from not private contexts. However, these
parameters were redundant with respect to origin attributes, which led to some
confusion for consumers of these APIs. This patch removes these parameters in
favor of using origin attributes.

Differential Revision: https://phabricator.services.mozilla.com/D142901
2022-04-06 17:37:23 +00:00
Jan Varga
95ba541ab4 Bug 1688665 - Support for clearing sessionStorage by principal; r=pbz
The original patch D121639 has been developed by pbz.

Depends on D139812

Differential Revision: https://phabricator.services.mozilla.com/D139813
2022-03-22 07:12:21 +00:00
Hannah Peuckmann
42501510de Bug 1750164 - Hand over the proper unit of time from ClearDataService to PermissionManager. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D136391
2022-01-31 16:33:33 +00:00
Hannah Peuckmann
81f83660f4 Bug 1745389 - Split up SecuritySettingsCleaner. r=geckoview-reviewers,pbz,keeler,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D134119
2022-01-13 15:04:05 +00:00
Paul Zuehlcke
6b04f464a9 Bug 1727316 - Avoid over-clearing data in ClearDataService if we do not have user input. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D122881
2021-08-24 16:18:23 +00:00
Paul Zuehlcke
074b619abd Bug 1727146 - Only clear the preflight cache on user request. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D123134
2021-08-23 17:36:46 +00:00
Paul Zuehlcke
3d95ad42dc Bug 1704110 - Added PreflightCacheCleaner. r=necko-reviewers,johannh,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119290
2021-07-12 16:05:19 +00:00
Stefan Zabka
654241da40 Bug 1705034 - Implemented ForgetThisBaseDomain in GMPServiceParent. r=pbz,bryce
Differential Revision: https://phabricator.services.mozilla.com/D116412
2021-07-07 10:51:59 +00:00
Paul Zuehlcke
394585a882 Bug 1714608 - Use partitionKey pattern matcher in ClearDataService#hasBaseDomain. r=szabka
Differential Revision: https://phabricator.services.mozilla.com/D118725
2021-07-07 10:25:13 +00:00
Paul Zuehlcke
4b949c640f Bug 1713139 - Clear partitioned storage for session storage and legacy localStorage implementation. r=dom-storage-reviewers,johannh,asuth
Differential Revision: https://phabricator.services.mozilla.com/D116607
2021-07-06 21:10:58 +00:00
Paul Zuehlcke
cee209ee2e Bug 1705036 - Added QuotaCleaner deleteByBaseDomain. r=johannh,dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D116130
2021-07-06 21:10:57 +00:00
Butkovits Atila
95b82f7cbd Backed out changeset 0bf78f953aac (bug 1705034) for causing Gtest failures. 2021-07-06 21:40:33 +03:00
Stefan Zabka
e1d5447665 Bug 1705034 - Implemented ForgetThisBaseDomain in GMPServiceParent. r=pbz,bryce
Differential Revision: https://phabricator.services.mozilla.com/D116412
2021-07-06 16:38:44 +00:00
Paul Zuehlcke
34bdd783db Bug 1717463 - Update SecuritySettingsCleaner to clear partitioned client auth remember decisions. r=johannh,keeler
Differential Revision: https://phabricator.services.mozilla.com/D118451
2021-06-25 10:27:00 +00:00
Paul Zuehlcke
5c8d7ecfa6 Bug 1705030 - Added NetworkCacheCleaner deleteByBaseDomain. r=necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113128
2021-06-24 09:13:30 +00:00
Dana Keeler
09b2da34d4 Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-12 01:12:25 +00:00
Butkovits Atila
ecd1eab585 Backed out 3 changesets (bug 1715142) for causing build bustages. CLOSED TREE
Backed out changeset 7e67994f6a65 (bug 1715142)
Backed out changeset f58d5156f332 (bug 1715142)
Backed out changeset f8a7bd4519c6 (bug 1715142)
2021-06-11 21:20:02 +03:00
Dana Keeler
9e8e57335b Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-11 17:58:19 +00:00
Iulian Moraru
32a2ebfffc Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 83206685ca0b (bug 1715142)
Backed out changeset ab3060a5f69e (bug 1715142)
2021-06-11 02:45:34 +03:00
Dana Keeler
57df163cba Bug 1715142 - introduce nsIPublicKeyPinningService and remove 'type' parameter from nsISiteSecurityService r=rmf,necko-reviewers
The public key pinning implementation is much less complex than the HSTS
implementation, and only needs a small subset of the parameters of the latter.
Furthermore, the information it relies on is static, and so is safe to access
from content processes. This patch separates the two implementations, thus
simplifying both of them and avoiding some unnecessary IPC calls in the
process.

Differential Revision: https://phabricator.services.mozilla.com/D117096
2021-06-10 22:13:32 +00:00
Paul Zuehlcke
af7262a3f8 Bug 1709623 Removed PushNotificationsCleaner TODO and added test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D115830
2021-06-02 14:09:32 +00:00
Paul Zuehlcke
ef176e751a Bug 1709624 - Add PermissionsCleaner deleteByBaseDomain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D115688
2021-06-02 13:57:51 +00:00
R. Martinho Fernandes
de4f66ca1a Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-06-01 06:55:07 +00:00
Dorel Luca
d5c3a7bd8e Backed out changeset 089c88b9657b (bug 1597600) for XPCshell failures in toolkit/components/cleardata/tests/unit/test_certs.js. CLOSED TREE 2021-05-29 23:31:00 +03:00
R. Martinho Fernandes
a855765213 Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2021-05-29 19:34:35 +00:00
Paul Zuehlcke
9d51c0be28 Bug 1705033 - Added ImageCacheCleaner deleteByBaseDomain. r=tnikkel,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D115621
2021-05-27 12:37:04 +00:00
Paul Zuehlcke
df6d999508 Bug 1710818 - Updated imgLoader removeEntriesFromPrincipal to clear entries for all processes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D115620
2021-05-27 12:37:04 +00:00
Paul Zuehlcke
21c13b8487 Bug 1709621 - Added CertCleaner deleteByBaseDomain. r=johannh,keeler
Differential Revision: https://phabricator.services.mozilla.com/D114762
2021-05-27 12:37:04 +00:00
Paul Zuehlcke
dcfc07202c Bug 1705032 - Added CSSCacheCleaner deleteByBaseDomain. r=emilio,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D114518
2021-05-27 12:37:03 +00:00
Paul Zuehlcke
7598891b32 Bug 1705035 - Added SecuritySettingsCleaner deleteByBaseDomain. r=johannh,keeler
Differential Revision: https://phabricator.services.mozilla.com/D112642
2021-05-26 13:49:37 +00:00
Paul Zuehlcke
67ecc25d3d Bug 1705029 - Added CookieCleaner deleteByBaseDomain. r=johannh,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113496
2021-05-26 13:49:37 +00:00
Paul Zuehlcke
cbbdde0cb4 Bug 1705028 - Added ClearDataService deleteDataFromBaseDomain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D113494
2021-05-26 13:49:36 +00:00
Valentin Gosu
b48d0f6ea6 Bug 1694662 - Remove Appcachestorage & oldwrappers r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106455
2021-04-30 07:20:24 +00:00
Valentin Gosu
cb75847815 Bug 1694662 - Remove OfflineAppCacheHelper r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106445
2021-04-30 07:20:20 +00:00
David Parks
43fdd60688 Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-06 19:28:13 +00:00
Csoregi Natalia
c1ab4757eb Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks
0598ab2d7b Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-05 23:48:36 +00:00
Bogdan Tara
70e86098f5 Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
R. Martinho Fernandes
79ef0b5391 Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2020-12-07 17:10:52 +00:00
Johann Hofmann
e6fcd1428f Bug 1675018 - Part 3 - Implement ClearDataService::DeleteUserInteractionForClearingHistory. r=timhuang
This is a helper function for clear history functionality that needs to ensure that
storageAccessAPI permissions that would mirror history are also deleted without
clearing permissions that keep cookies and site data alive.

Differential Revision: https://phabricator.services.mozilla.com/D96640
2020-11-17 22:24:58 +00:00
Csoregi Natalia
10d627272f Backed out 5 changesets (bug 1675018) for linting failure. CLOSED TREE
Backed out changeset 81e7fe361388 (bug 1675018)
Backed out changeset 7fe621a805eb (bug 1675018)
Backed out changeset 34fd482121f2 (bug 1675018)
Backed out changeset ee836c7f63d4 (bug 1675018)
Backed out changeset 0e09ce61e374 (bug 1675018)
2020-11-17 00:34:27 +02:00
Johann Hofmann
2b8cb73e97 Bug 1675018 - Part 3 - Implement ClearDataService::DeleteUserInteractionForClearingHistory. r=timhuang
This is a helper function for clear history functionality that needs to ensure that
storageAccessAPI permissions that would mirror history are also deleted without
clearing permissions that keep cookies and site data alive.

Differential Revision: https://phabricator.services.mozilla.com/D96640
2020-11-16 19:29:26 +00:00
Emilio Cobos Álvarez
06537f96ee Bug 1662987 - ClearDataService should know how to clear the stylesheet cache. r=baku
Much like it does for images.

Differential Revision: https://phabricator.services.mozilla.com/D89242
2020-09-08 19:38:43 +00:00
Moritz Birghan
85114dfbd8 Bug 634697 - Add permanent storage to user's client certificate selection r=keeler,baku,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58820
2020-08-03 13:24:34 +00:00
Butkovits Atila
04e4316a2f Backed out changeset 441baa36ba93 (bug 634697) for failure at test_sss_readstate.js. CLOSED TREE 2020-07-29 19:39:44 +03:00
Moritz Birghan
7e0c254db5 Bug 634697 - Add permanent storage to user's client certificate selection r=keeler,baku,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58820
2020-07-29 15:20:10 +00:00
Dorel Luca
6b8a3c27be Backed out changeset 928233ea49ee (bug 634697) for causing leaks. CLOSED TREE 2020-07-15 16:39:11 +03:00
Moritz Birghan
0e5457f000 Bug 634697 - Add permanent storage to user's client certificate selection r=keeler,baku,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58820
2020-07-15 11:49:00 +00:00
Sebastian Streich
9a30e9e484 Bug 1633710 - Move js uri.host to principal r=ckerschb,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D73242
2020-07-13 18:35:01 +00:00
Kris Maglione
6616abd1e6 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00