Commit Graph

289 Commits

Author SHA1 Message Date
William Wen
ad9daa5945 Bug 1901602 - Add Twitter SmartBlock Embeds shim. r=emz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D239815
2025-03-26 14:13:41 +00:00
William Wen
e40bc28d1b Bug 1926460 - Style tp icon only after opening panel and ensure panel closed before open. r=emz
Differential Revision: https://phabricator.services.mozilla.com/D235522
2025-01-29 19:13:54 +00:00
William Wen
68cd20bf3d Bug 1936824, r=emz,webcompat-reviewers,twisniewski,desktop-theme-reviewers,hjones
Differential Revision: https://phabricator.services.mozilla.com/D234337
2025-01-29 19:13:54 +00:00
William Wen
0217402c24 Bug 1920735 - Add telemetry for smartblock embeds. r=emz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D231138
2025-01-27 16:57:08 +00:00
William Wen
d98eee5990 Bug 1892175 - Add tests for smartblock embed unblocking. r=emz,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D230134
2025-01-27 16:57:07 +00:00
Florian Quèze
b4b0d27e43 Bug 1935420 - Migrate histograms to use Glean APIs in toolkit/components/antitracking, r=chutten,anti-tracking-reviewers,firefox-desktop-core-reviewers ,emz,mossop.
Differential Revision: https://phabricator.services.mozilla.com/D234069
2025-01-27 13:42:15 +00:00
Tim Huang
437d46b96f Bug 1918341 - Part 1: Making the ThirdPartyCookies protection category recognize the STATE_COOKIES_PARTITIONED_TRACKER content blocking event. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D229331
2024-11-20 23:38:09 +00:00
William Wen
5d37f04e88 Bug 1892172 - Add smartblock tiktok embed shim.
Differential Revision: https://phabricator.services.mozilla.com/D227079
2024-11-20 14:56:24 +00:00
William Wen
22adae8f09 Bug 1925638 - Add a pref to toggle smartblock functionality. r=pbz,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D226421
2024-11-20 14:56:24 +00:00
William Wen
3285ffcca4 Bug 1920776 - Implement Smartblock embed unblocking for Instagram embeds. r=pbz,webcompat-reviewers,twisniewski,fluent-reviewers,desktop-theme-reviewers,extension-reviewers,emilio,robwu
Differential Revision: https://phabricator.services.mozilla.com/D223419
2024-11-20 14:56:23 +00:00
William Wen
2e7ed4c99f Bug 1914793 - Change the protections popup toast to be a button click. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D224487
2024-10-21 10:03:31 +00:00
Florian Quèze
21212e9bd3 Bug 1918702 - Migrate telemetry events to use Glean APIs for security.ui.protectionspopup, r=chutten.
Differential Revision: https://phabricator.services.mozilla.com/D223606
2024-09-27 11:48:57 +00:00
Tom Schuster
8273c6ec91 Bug 1912405 - Use individual event listeners for gProtectionsHandler click handlers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D219422
2024-08-19 10:55:25 +00:00
Gijs Kruitbosch
628fafe237 Bug 1896783 - don't rely on the ReportBrokenSite object existing as a window property, r=twisniewski,pbz,webcompat-reviewers
Unfortunately the addition in browser-siteProtections.js still makes this a
variable on the browser window, but refactoring the contents of that file to
be module-based is a separate effort.

Differential Revision: https://phabricator.services.mozilla.com/D210434
2024-08-14 13:10:41 +00:00
Tom Schuster
953b906337 Bug 1904798 - Remove onclick inline event handlers from protections popup. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215345
2024-07-10 09:27:36 +00:00
Tom Schuster
32f03d71b3 Bug 1904798 - Remove protections-popup popup inline event handlers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215344
2024-07-10 09:27:36 +00:00
Tom Schuster
0b3f4747c1 Bug 1904798 - Remove not-blocking-why inline event handlers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D215343
2024-07-10 09:27:36 +00:00
Tom Schuster
c1ebd01f90 Bug 1904798 - Remove oncommand inline event handlers from protections popup. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D215342
2024-07-10 09:27:35 +00:00
Emily McMinn
30c98bb978 Bug 1887038 - Clean up whatsNewPanel pref and policies outside Messaging System r=webdriver-reviewers,desktop-theme-reviewers,mkaply,pdahiya,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D207484
2024-04-26 15:31:30 +00:00
Hanna Jones
21849b1def 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-24 19:16:46 +00:00
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