William Wen
6aad46ac21
Bug 1658094 - Add new cleaner for "cookie" permissions. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D212057
2024-06-24 15:14:45 +00:00
Harshit Sohaney
403fae4bcf
Bug 1895612 - Add new prefs to run the clear history pref migration again for all users for the new clear history dialog. r=pbz
...
Depends on D208411
Differential Revision: https://phabricator.services.mozilla.com/D209758
2024-05-25 15:19:14 +00:00
Mike Hommey
68e5cec3f6
Bug 1885449 - Move GV code shared between Android and iOS to a shared directory. r=geckoview-reviewers,frontend-codestyle-reviewers,nalexander,owlish
...
And hook them up to the iOS build.
Differential Revision: https://phabricator.services.mozilla.com/D204711
2024-05-16 22:08:51 +00:00
Harshit Sohaney
c3540c3462
Bug 1881797 - (part 2) Add a helper flag to clear cookies and site data. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D206533
2024-04-09 15:39:32 +00:00
Harshit Sohaney
dc8995e1b9
Bug 1881797 - (part 1) Add cleaner for site-permissions and storage-access for clearing site data history. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D203684
2024-04-09 15:39:32 +00:00
Kagami Sascha Rosylight
28b156ceb7
Bug 1814281 - Add more logs to confirm sanitization runs r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D206677
2024-04-09 14:50:44 +00:00
Harshit Sohaney
ae4aed478f
Bug 1881579 - Add clearing EME functionality for cookies and storage in the new clear history dialog. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D203683
2024-03-29 03:25:41 +00:00
Dave Townsend
a0c83bc943
Bug 1864896: Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D203005
2024-03-19 09:36:35 +00:00
Mark Banner
afdbce2ec3
Bug 1884623 - Update more jsm references in production code and docs in browser/. r=mossop,extension-reviewers,omc-reviewers,migration-reviewers,robwu,mconley,aminomancer
...
Differential Revision: https://phabricator.services.mozilla.com/D204182
2024-03-11 15:26:28 +00:00
Harshit Sohaney
edc5c03ac4
Bug 1878111 - Migrate prefs for clear history dialog in both clearHistory and clearOnShutdown contexts. r=pbz,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D201630
2024-02-26 21:29:36 +00:00
Paul Zuehlcke
d5ea0142dc
Bug 1878915 - Add CLEAR_BOUNCE_TRACKING_PROTECTION_STATE flag to nsIClearDataService callers. r=bvandersloot,geckoview-reviewers,amejiamarmol
...
Differential Revision: https://phabricator.services.mozilla.com/D200972
2024-02-14 09:44:55 +00:00
Cosmin Sabou
1697c44570
Backed out 8 changesets (bug 1839919, bug 1876579, bug 1878915) for causing non-unified build bustages on nsCOMPtr.h.
...
Backed out changeset 99ce75dc42c5 (bug 1878915)
Backed out changeset 1ba7f2b78980 (bug 1878915)
Backed out changeset c4675cbf4e84 (bug 1878915)
Backed out changeset df1f8aa6637f (bug 1839919)
Backed out changeset 325f849a24df (bug 1839919)
Backed out changeset e1f7b77f841b (bug 1839919)
Backed out changeset 33e6ffa9f8cc (bug 1876579)
Backed out changeset bae7618dff51 (bug 1876579)
2024-02-13 16:15:27 +02:00
Paul Zuehlcke
3c595e0a18
Bug 1878915 - Add CLEAR_BOUNCE_TRACKING_PROTECTION_STATE flag to nsIClearDataService callers. r=bvandersloot,geckoview-reviewers,amejiamarmol
...
Differential Revision: https://phabricator.services.mozilla.com/D200972
2024-02-13 11:33:07 +00:00
Harshit Sohaney
c934d62d7a
Bug 1876097 - Migrate old prefs to the new prefs for clear on shutdown in the new clear history dialog. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D199445
2024-01-29 14:17:40 +00:00
Tim Huang
6b243ce2f7
Bug 1852738 - Part 4: Add tests. r=tjr,pbz
...
The patch adds a test function to nsIRFPService.idl for generating
fingerprinting randomization key for the given channel. It also adds
tests for ensuring the ClearDataService properly clears the random key.
Differential Revision: https://phabricator.services.mozilla.com/D196303
2024-01-22 19:09:12 +00:00
Tim Huang
29f5511898
Bug 1852738 - Part 3: Add a FingerprintingProtectionState cleaner. r=pbz,geckoview-reviewers,owlish
...
This patch implements a FingerprintingProtectionState cleaner that calls
the clear functions to reset fingerprinting random key.
Differential Revision: https://phabricator.services.mozilla.com/D196302
2024-01-22 19:09:11 +00:00
Harshit Sohaney
4e984702b9
Bug 1869884 - Remerging downloads into history. r=pbz,fluent-reviewers,bolsson
...
Differential Revision: https://phabricator.services.mozilla.com/D198393
2024-01-19 06:30:02 +00:00
Natalia Csoregi
d94e9647c8
Backed out changeset 7969278ce39f (bug 1869884) for causing failures on browser_sanitizeDialog_v2.js. CLOSED TREE
2024-01-19 00:54:37 +02:00
Harshit Sohaney
b3c41dcdf5
Bug 1869884 - Remerging downloads into history. r=pbz,fluent-reviewers,bolsson
...
Differential Revision: https://phabricator.services.mozilla.com/D198393
2024-01-18 20:10:01 +00:00
Harshit Sohaney
aea6eced6f
Bug 1861450 - (Part 1) Create new prefs and categories in Sanitizer for the new dialog box. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D194136
2024-01-16 06:50:46 +00:00
Harshit Sohaney
3d88318d2d
Bug 1856412 - (Part 1) Make all clear history entrypoints point to the new clear history dialog. r=pbz,fluent-reviewers,settings-reviewers,flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D192282
2024-01-15 13:10:05 +00:00
Harshit Sohaney
e2e1067f1f
Bug 1855068 - (Part 1) Added functionality to get all data sizes by time range. r=pbz,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D190862
2024-01-15 13:10:05 +00:00
Noemi Erli
5ee98305d6
Backed out 4 changesets (bug 1855068, bug 1856412) for causing failures in test_SiteDataManager.js CLOSED TREE
...
Backed out changeset dbaf2b0da226 (bug 1856412)
Backed out changeset 8d040fd73abf (bug 1856412)
Backed out changeset 645f7ed438fb (bug 1855068)
Backed out changeset be41f5296dec (bug 1855068)
2024-01-11 03:20:27 +02:00
Harshit Sohaney
458e1863b3
Bug 1856412 - (Part 1) Make all clear history entrypoints point to the new clear history dialog. r=pbz,fluent-reviewers,settings-reviewers,flod,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D192282
2024-01-10 13:15:01 +00:00
Harshit Sohaney
20e51c41c6
Bug 1855068 - (Part 1) Added functionality to get all data sizes by time range. r=pbz,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D190862
2024-01-10 11:47:26 +00:00
Harshit Sohaney
642fccf057
Bug 1856415 - (Part 1) Updating clear data dialog UI. r=pbz,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,Gijs,dao,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D189947
2023-12-18 14:41:11 +00:00
Sandor Molnar
717f90695a
Backed out 2 changesets (bug 1856415) for causing bc failures at browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE
...
Backed out changeset f5e458c049b9 (bug 1856415)
Backed out changeset ffd79f9e0881 (bug 1856415)
2023-12-11 20:20:33 +02:00
Harshit Sohaney
2bbd228a56
Bug 1856415 - (Part 1) Updating clear data dialog UI. r=pbz,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,Gijs,dao,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D189947
2023-12-11 16:50:57 +00:00
Tim Huang
8988120223
Bug 1854940 - Part 2: Add a CookieBannerCleaner to ClearDataService. r=pbz,geckoview-reviewers,anti-tracking-reviewers,amejiamarmol
...
The patch add a CookieBannerExceptionCleaner and a
CookieBannerExecutedRecordCleaner to ClearDataService. The cleaners
clear the cookie banner handling data. We will also clear the executed
record when cleaning cookies or dom storage so that the cookie banner
handling will run again after cleaning.
Differential Revision: https://phabricator.services.mozilla.com/D190764
2023-11-09 08:29:16 +00:00
Stanca Serban
826b87ff61
Backed out 4 changesets (bug 1854940) for causing multiple failures.
...
Backed out changeset 2d264402493e (bug 1854940)
Backed out changeset 144b76e6db22 (bug 1854940)
Backed out changeset 5a9e45504f32 (bug 1854940)
Backed out changeset c8c7ec382574 (bug 1854940)
2023-11-08 14:20:06 +02:00
Tim Huang
ea0bd01c63
Bug 1854940 - Part 2: Add a CookieBannerCleaner to ClearDataService. r=pbz,geckoview-reviewers,anti-tracking-reviewers,amejiamarmol
...
The patch add a CookieBannerExceptionCleaner and a
CookieBannerExecutedRecordCleaner to ClearDataService. The cleaners
clear the cookie banner handling data. We will also clear the executed
record when cleaning cookies or dom storage so that the cookie banner
handling will run again after cleaning.
Differential Revision: https://phabricator.services.mozilla.com/D190764
2023-11-08 11:04:46 +00:00
Mark Banner
0666077666
Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Kagami Sascha Rosylight
0db38fe58e
Bug 1830384 - Skip cleanup when no sanitization happened r=hpeuckmann
...
D176147 falsely let the process always run; this should now skip it when not needed.
Differential Revision: https://phabricator.services.mozilla.com/D176709
2023-05-03 07:33:10 +00:00
Kagami Sascha Rosylight
76b85e7701
Bug 1827390 - Reduce calls to maybeSanitizeSessionPrincipals r=hpeuckmann
...
Also initializes gPrincipalsCollector properly.
Differential Revision: https://phabricator.services.mozilla.com/D176147
2023-04-25 10:11:11 +00:00
Hannah Peuckmann
359e3af2ee
Bug 1578273 - Reduce calls to the PrincipalsCollector. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D162721
2023-03-31 13:47:39 +00:00
Marian-Vasile Laza
5d1b4404c7
Backed out 2 changesets (bug 1578273, bug 1806620) as req for causing Bug 1816279. CLOSED TREE
...
Backed out changeset a34115b334e2 (bug 1806620)
Backed out changeset 733f6ba8c1c6 (bug 1578273)
2023-02-16 13:01:02 +02:00
Mark Banner
799dd68531
Bug 1808289 - Automatically replace Cu.reportError with console.error (browser/themes, browser/modules). r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D165848
2023-01-03 19:16:20 +00:00
Danny Colin
2bfbc92b65
Bug 1796797 - Convert toolkit/components/contextualidentity JSM modules to ESMs r=baku,webdriver-reviewers,extension-reviewers,settings-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D159945
2022-12-21 08:14:05 +00:00
Hannah Peuckmann
2902280379
Bug 1578273 - Reduce calls to the PrincipalsCollector. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D162721
2022-12-20 08:33:57 +00:00
Andrew Halberstadt
784c7a446b
Bug 1802323 - Add more logging to History cleaner in Sanitizers. r=Gijs,hpeuckmann,extension-reviewers,rpl
...
Makes passing a progress object as part of options more coherent in the
Sanitizer, so we don't need to null check it everywhere.
Create a sub progress object for each cleaner, so they don't overwrite each
other reusing the same property names (like "step"), since all the cleaners are
started in parallel.
Add a few steps to the history cleaner.
This also fixes a typo in the openWindows cleaner, that should receive an object
rather than a string as second argument. Adding a test for this feature is not
trivial, thus I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1803174 .
Differential Revision: https://phabricator.services.mozilla.com/D163352
2022-12-12 17:16:51 +00:00
Kagami Sascha Rosylight
bce4f9a7c9
Bug 1800505 - Move origin directories before shutdown sanitization r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D162308
2022-12-07 13:57:36 +00:00
Benjamin VanderSloot
17c87d05da
Bug 1782091 - Create IdentityCredential state map, r=timhuang,pbz
...
This creates a new service that stores precisely two bits per RP, IDP, and account ID tuple:
has it been used before and is it able to be logged out.
It does so with the additional constraints of respecting private browsing's clear on last session and in-memory storage constraints and being a participant in the Clear Storage Service.
Tests are here. Coverage isn't perfect, but they cover most of the service.
Differential Revision: https://phabricator.services.mozilla.com/D162124
2022-12-03 18:50:31 +00:00
Sandor Molnar
5d6d534c24
Backed out 5 changesets (bug 1782087, bug 1782094, bug 1782093, bug 1782091) for causing bc failures in toolkit/components/cleardata/tests/browser/browser_quota.js CLOSED TREE
...
Backed out changeset e810f2f0580f (bug 1782093)
Backed out changeset 955c8cad8112 (bug 1782087)
Backed out changeset 372252b98cd7 (bug 1782087)
Backed out changeset 32e4f376e64f (bug 1782094)
Backed out changeset 1475247d538f (bug 1782091)
2022-12-03 00:53:52 +02:00
Benjamin VanderSloot
be70d3519e
Bug 1782091 - Create IdentityCredential state map, r=timhuang,pbz
...
This creates a new service that stores precisely two bits per RP, IDP, and account ID tuple:
has it been used before and is it able to be logged out.
It does so with the additional constraints of respecting private browsing's clear on last session and in-memory storage constraints and being a participant in the Clear Storage Service.
Tests are here. Coverage isn't perfect, but they cover most of the service.
Differential Revision: https://phabricator.services.mozilla.com/D162124
2022-12-02 18:41:45 +00:00
Norisz Fay
4be2f9e959
Backed out 5 changesets (bug 1782093, bug 1782094, bug 1782087, bug 1782091) for causing multiple mozStorageService related failures CLOSED TREE
...
Backed out changeset 4f57469716d2 (bug 1782093)
Backed out changeset a06b230dc4f2 (bug 1782087)
Backed out changeset 8031bd99e17d (bug 1782087)
Backed out changeset 50141328dfad (bug 1782094)
Backed out changeset a2030d35f960 (bug 1782091)
2022-12-01 16:42:29 +02:00
Benjamin VanderSloot
870d183e3f
Bug 1782091 - Create IdentityCredential state map, r=timhuang,pbz
...
This creates a new service that stores precisely two bits per RP, IDP, and account ID tuple:
has it been used before and is it able to be logged out.
It does so with the additional constraints of respecting private browsing's clear on last session and in-memory storage constraints and being a participant in the Clear Storage Service.
Tests are here. Coverage isn't perfect, but they cover most of the service.
Differential Revision: https://phabricator.services.mozilla.com/D162124
2022-12-01 13:47:15 +00:00
Iulian Moraru
a416e2eee2
Backed out 5 changesets (bug 1782087, bug 1782093, bug 1782094, bug 1782091) for causing multiple failures. CLOSED TREE
...
Backed out changeset 11e59dcd517b (bug 1782093)
Backed out changeset 66eeced8dbed (bug 1782087)
Backed out changeset 8c7764e1ff1d (bug 1782087)
Backed out changeset 2c6f41077d9d (bug 1782094)
Backed out changeset 5f38f252060f (bug 1782091)
2022-11-30 06:16:55 +02:00
Benjamin VanderSloot
69ab70d68a
Bug 1782091 - Create IdentityCredential state map, r=timhuang,pbz
...
This creates a new service that stores precisely two bits per RP, IDP, and account ID tuple:
has it been used before and is it able to be logged out.
It does so with the additional constraints of respecting private browsing's clear on last session and in-memory storage constraints and being a participant in the Clear Storage Service.
Tests are here. Coverage isn't perfect, but they cover most of the service.
Differential Revision: https://phabricator.services.mozilla.com/D162124
2022-11-30 02:40:58 +00:00
Mark Banner
319bc25bd8
Bug 1802855 - Convert toolkit/components/satchel JSM modules to ES modules. r=credential-management-reviewers,daleharvey,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D163201
2022-11-29 15:53:20 +00:00