Commit graph

52 commits

Author SHA1 Message Date
Harshit Sohaney
4af67d7e8c 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
21bcae940a 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
82bb8081bf 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
3fc0fa2f77 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
347c5a2810 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
62eec34594 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
a9a51bf046 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
9fe8bde13c 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
246329c6f0 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
c40527f55d 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
7b230cb210 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
4ec8782431 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
396c4816a3 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
f39cbe5f9d 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
9d92b0847e 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
4676f9c1d2 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
a46f2e0946 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
6e22a02790 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
b677473962 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
bd7ae2cbc1 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
b47c8fb5fc 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
e0cc765727 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
d43cbd3e1d 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
173f01f1b0 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
ee785b88ad 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
53a6546034 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
47cfad8fb4 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
fbe26a81ec 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
582e249d86 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
eb8001816d 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
130a655906 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
8219a5c503 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
372acec1e9 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
d018620a70 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
e0c4f3c719 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
d403477d09 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
960de47586 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
980244d030 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
fd6549c362 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
ad3a7c0431 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
0118aa667b 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
98cbae5614 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
b2e8991495 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
944ab64721 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
5313909b4c 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
37fe857e5a 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
a4a41aafa8 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
60421bae65 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
95357f3083 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
Kagami Sascha Rosylight
f24fdbc09c Bug 1801346 - Esmify browser/modules/Sanitizer.jsm r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D162425
2022-11-19 01:45:42 +00:00
Renamed from browser/modules/Sanitizer.jsm (Browse further)