Commit Graph

269 Commits

Author SHA1 Message Date
Stanca Serban
29d6ee2faf Backed out changeset 58e1e96263b7 (bug 1803678) mochitests failures in test_confirm_delete_dialog.html. CLOSED TREE 2024-04-24 03:14:45 +03:00
Hanna Jones
9413513b0d Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-23 19:28:47 +00:00
Aron Cseh
08943f7f60 Backed out changeset 421fd8a0360c (bug 1803678) for causing mochitest failures on browser_translations_select_panel_init_failure.js CLOSED TREE 2024-04-23 18:16:55 +03:00
Hanna Jones
cf0399a238 Bug 1803678 - enable lazy loading of ESModule based moz- custom elements r=reusable-components-reviewers,pip-reviewers,credential-management-reviewers,translations-reviewers,kpatenio,issammani,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D207445
2024-04-23 13:52:27 +00:00
Yi Xiong Wong
af7f0d403b Bug 1880914 - Move all reload functions. r=Gijs,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D205527
2024-03-28 17:05:01 +00:00
Emily McMinn
d4f51984fa Bug 1724300 - Remove What's New Panel, ToolbarPanelHub components & related tests & references r=desktop-theme-reviewers,omc-reviewers,aminomancer,pdahiya,emilio,devtools-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201867
2024-03-21 22:05:28 +00:00
Dave Townsend
ab57b0fdc1 Bug 1864896: Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao
Differential Revision: https://phabricator.services.mozilla.com/D202949
2024-03-19 14:59:20 +00:00
Thomas Wisniewski
37957b7306 Bug 1881798 - remove the legacy ETP webcompat reporter; r=pbz,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D203022
2024-03-03 01:39:42 +00:00
Itiel
a936dbc56c Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-05 11:28:38 +00:00
Stanca Serban
1bf2366ed9 Backed out changeset d5b97b79ab63 (bug 1874952) for causing mochitests failures in browser_address_doorhanger_confirmation_popup.js. 2024-02-04 04:22:37 +02:00
Itiel
c11a0e673a Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-03 19:52:00 +00:00
Stanca Serban
2c24c9c59e Backed out changeset 234a8e0fb95f (bug 1874952) for causing mochitests in browser_doorhanger_remembering.js. CLOSED TREE 2024-02-03 20:15:38 +02:00
Itiel
ba79048a2f Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-03 16:48:35 +00:00
Emily McMinn
e3233ed67d Bug 1863022 - Render message from browser-siteProtections.js, replace messaging system telemetry, and migrate strings r=pdahiya,omc-reviewers,pbz,fluent-reviewers,flod
The protections panel message should show once when the panel is first opened; after that it will be collapsed by default and can be shown again by clicking the "info" button on the panel

Messaging system previously sent the following pings on message show, and when the "learn more" link was clicked:

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“IMPRESSION”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```
and

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“CLICK”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```

This patch replaces these pings with 'RecordEvents' telemetry on the `protectionsPopup` object:

```
33153 	security.ui.protectionspopup 	open 	protectionspopup_cfr 	impression 	{"message": "PROTECTIONS_PANEL_1"}
```
and

```
34932 	security.ui.protectionspopup 	click 	protectionspopup_cfr
```

Differential Revision: https://phabricator.services.mozilla.com/D192968
2024-01-10 22:20:05 +00:00
Stanca Serban
be900c093d Backed out changeset f737edc6cd59 (bug 1863022) for causing mochitests failures in browser_protectionsUI.js. CLOSED TREE 2024-01-10 01:49:46 +02:00
Emily McMinn
4603bdaaf5 Bug 1863022 - Render message from browser-siteProtections.js, replace messaging system telemetry, and migrate strings r=pdahiya,omc-reviewers,pbz,fluent-reviewers,flod
The protections panel message should show once when the panel is first opened; after that it will be collapsed by default and can be shown again by clicking the "info" button on the panel

Messaging system previously sent the following pings on message show, and when the "learn more" link was clicked:

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“IMPRESSION”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```
and

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“CLICK”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```

This patch replaces these pings with 'RecordEvents' telemetry on the `protectionsPopup` object:

```
33153 	security.ui.protectionspopup 	open 	protectionspopup_cfr 	impression 	{"message": "PROTECTIONS_PANEL_1"}
```
and

```
34932 	security.ui.protectionspopup 	click 	protectionspopup_cfr
```

Differential Revision: https://phabricator.services.mozilla.com/D192968
2024-01-09 22:34:35 +00:00
Tim Huang
2cafd187a9 Bug 1863280 - Part 3: Implements a new fingerprinting protection category for the protection panel. r=pbz
This patch implements a new protection category that recognizes the
STATE_BLOCKED_SUSPICIOUS_FINGERPRINTING event. So, we can show the
suspicious fingerprinting on the fingerprinting category and suspicious
fingerprinting origin on the fingerprinting subpanel.

Differential Revision: https://phabricator.services.mozilla.com/D193455
2023-11-16 00:22:46 +00:00
Harshit Sohaney
3bcf40205f Bug 1855967 - Changed aria-label for ETP toggle to reflect on-screen wording. r=pbz,fluent-reviewers,flod,accessibility-frontend-reviewers,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D191087
2023-10-23 14:25:51 +00:00
Benjamin VanderSloot
4dfecc097a Bug 1850955 - Add current GPC setting to webcompat reports - r=timhuang,twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189659
2023-10-10 15:24:21 +00:00
Eemeli Aro
a9bae64d47 Bug 1853638 - Fix protections dashboard menu tooltip. r=bvandersloot,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D188449
2023-09-20 15:40:48 +00:00
Hanna Jones
20cbf2f575 Bug 1801936 - use moz-toggle in the ETP panel r=mstriemer,tgiles,desktop-theme-reviewers,flod,dao
This patch replaces both toggles in the different sub views of the ETP panel with `moz-toggle`. Previously there was a small discrepancy where we were setting an `aria-label` on one toggle but not the other. I added a method to handle updating both toggles at once to ensure they stay in sync/always receive the same updates.

Differential Revision: https://phabricator.services.mozilla.com/D176700
2023-08-09 18:18:44 +00:00
Eemeli Aro
bf0a6574ee Bug 1760047 - Migrate browser-siteProtections.js to Fluent. r=anti-tracking-reviewers,fluent-reviewers,flod,bvandersloot
The `PanelMultiView.showSubView()` method needed to be made a bit more robust
for titles set by DOM localization rather than directly.

The following messages are dropped during the migration, as they are unused:
- contentBlocking.trackersView.blocked.label
- contentBlocking.cookiesView.firstParty.empty.label
- contentBlocking.cookiesView.trackers.empty.label
- contentBlocking.cookiesView.thirdParty.empty.label
- contentBlocking.fingerprintersView.blocked.label
- contentBlocking.cryptominersView.blocked.label

Differential Revision: https://phabricator.services.mozilla.com/D178829
2023-08-04 15:50:49 +00:00
Gregory Pappas
a57c4f9405 Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Stanca Serban
86bb679d8d Backed out changeset 1c06f781a9cc (bug 1760047) for causing mochitests failures in browser_protectionsUI_milestones.js. CLOSED TREE 2023-06-13 22:00:24 +03:00
Eemeli Aro
8700386a38 Bug 1760047 - Migrate browser-siteProtections.js to Fluent. r=anti-tracking-reviewers,fluent-reviewers,flod,bvandersloot
The `PanelMultiView.showSubView()` method needed to be made a bit more robust
for titles set by DOM localization rather than directly.

The following messages are dropped during the migration, as they are unused:
- contentBlocking.trackersView.blocked.label
- contentBlocking.cookiesView.firstParty.empty.label
- contentBlocking.cookiesView.trackers.empty.label
- contentBlocking.cookiesView.thirdParty.empty.label
- contentBlocking.fingerprintersView.blocked.label
- contentBlocking.cryptominersView.blocked.label

Differential Revision: https://phabricator.services.mozilla.com/D178829
2023-06-13 14:48:29 +00:00
ganna
c8753bc02d Bug 1814411 - Use moz-support-link for the protections-popup-shim-allow-learn-more labels in protectionsPanel.inc.xhtml. r=tgiles
Depends on D179594

Differential Revision: https://phabricator.services.mozilla.com/D179719
2023-06-05 14:25:52 +00:00
ganna
1e17d58bb7 Bug 1814412 - Use moz-support-link for the protections-popup-sendReportView-learn-more label. r=tgiles,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D179594
2023-06-05 14:25:51 +00:00
Iulian Moraru
8356268c03 Backed out changeset 5e2344a050c6 (bug 1760047) for causing bc failures on browser_protectionsUI_milestones.js. CLOSED TREE 2023-06-05 16:27:39 +03:00
Eemeli Aro
5715a00a4a Bug 1760047 - Migrate browser-siteProtections.js to Fluent. r=anti-tracking-reviewers,fluent-reviewers,flod,bvandersloot
The `PanelMultiView.showSubView()` method needed to be made a bit more robust
for titles set by DOM localization rather than directly.

The following messages are dropped during the migration, as they are unused:
- contentBlocking.trackersView.blocked.label
- contentBlocking.cookiesView.firstParty.empty.label
- contentBlocking.cookiesView.trackers.empty.label
- contentBlocking.cookiesView.thirdParty.empty.label
- contentBlocking.fingerprintersView.blocked.label
- contentBlocking.cryptominersView.blocked.label

Differential Revision: https://phabricator.services.mozilla.com/D178829
2023-06-05 10:55:31 +00:00
Harshit Sohaney
8367dd9595 Bug 1826418 - Added a new event to categorize replaced shims scripts for fingerprinting. Replaced shims for fingerprinting are counted in about:protections too now. r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178324
2023-05-26 08:10:50 +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 Striemer
ae16cd84c7 Bug 1819372 - Part 2: Use moz-button-group in Cookie Banner Reduction panel r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D173892
2023-04-13 16:20:50 +00:00
Tom Ritter
5c328a34af Bug 1824160: Add 'Fonts' to the reasons a Site Might Not Be Working r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D173565
2023-03-29 16:02:37 +00:00
ganna
851a344aca Bug 1802364 - Convert ETP breakage report links to toolbarbuttons in ETP panel. r=hjones,desktop-theme-reviewers,anti-tracking-reviewers,Itiel,pbz
Differential Revision: https://phabricator.services.mozilla.com/D172957
2023-03-28 19:44:11 +00:00
Jared Hirsch
a15a5ae9a6 Bug 1812796 - Refactor and simplify cookie banner handling UI state r=pbz,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D172075
2023-03-28 16:31:48 +00:00
omega judith
abed170241 Bug 1822985 - Convert toolkit/components/antitracking to ES modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D172887
2023-03-21 09:59:34 +00:00
Tim Huang
4b509c0513 Bug 1819662 - Showing the domains of the blocked email tracker in the tracker category on the protection panel. r=anti-tracking-reviewers,pbz
This patch makes the tracker category on the protection panel to show
the email tracker domains when they are blocked. The tracker category
will handle the email tracking content blocking events and show the
domains of blocked email trackers on the tracker category subview when
email tracking protection is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D171714
2023-03-08 20:00:54 +00:00
Emilio Cobos Álvarez
cdff2ecc8e Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 16:13:57 +00:00
Stanca Serban
5d57898ee6 Backed out changeset c25af897c9bc (bug 1820534) for causing reftests and mochitests failures. 2023-03-08 17:34:42 +02:00
Emilio Cobos Álvarez
e15feb465b Bug 1820534 - Move front-end to modern flexbox. r=Gijs,dao,settings-reviewers,credential-management-reviewers,sgalich,devtools-reviewers,nchevobbe
Done mostly automatically via find/replace following the conversions
specified here:

  https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ

For the most part I think the "flex: N N" usage could be simplified to
just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets
both flex-grow and flex-shrink).

I changed legacy layout to also look at the order property rather than
-moz-box-ordinal-group because it made splitters and treecols easier (we
don't need to deal with both orders).

Differential Revision: https://phabricator.services.mozilla.com/D171715
2023-03-08 14:11:35 +00:00
Jared Hirsch
83720d6721 Bug 1818536 - Do not clear regular site data when disabling cookie banner handling in private mode. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D170933
2023-02-24 21:00:23 +00:00
Jared Hirsch
cc107e3f5d Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-02-02 19:12:57 +00:00
Butkovits Atila
b95413c1ad Backed out changeset f878cff45427 (bug 1800670) for causing failures at browser_protectionsUI_cookie_banner.js. CLOSED TREE 2023-02-01 20:40:46 +02:00
Jared Hirsch
42e2eda79e Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-02-01 14:51:39 +00:00
Noemi Erli
879d74bdb0 Backed out changeset 68de023d3c5c (bug 1800670) for causing failures in browser_protectionsUI_cookie_banner.js CLOSED TREE 2023-01-30 21:16:42 +02:00
Jared Hirsch
992086fbed Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-01-30 16:30:28 +00:00
Butkovits Atila
8a37a83f45 Backed out changeset 0072aa5cd31d (bug 1800670) for causing multiple mochitest failures. CLOSED TREE 2023-01-30 15:26:29 +02:00
Jared Hirsch
64cb4ee8e6 Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-01-30 12:24:28 +00:00
Paul Zuehlcke
c561bb7d44 Bug 1809700 - Refactor detect-only mode into separate pref. r=timhuang,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D166831
2023-01-20 12:22:09 +00:00
Marian-Vasile Laza
70fd2af8ea Backed out 2 changesets (bug 1809700) for causing automation/mochitest/marionette failures. CLOSED TREE
Backed out changeset 7d58f9afe4b7 (bug 1809700)
Backed out changeset 8a37c048a169 (bug 1809700)
2023-01-19 21:33:08 +02:00