зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1602015 - Add telemetry to the protection panel milestone message r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D56381 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2244382682
Коммит
68fd519608
|
@ -30,6 +30,7 @@ add_task(async function doTest() {
|
|||
);
|
||||
|
||||
for (let milestone of milestones) {
|
||||
Services.telemetry.clearEvents();
|
||||
// Trigger the milestone feature.
|
||||
Services.prefs.setIntPref(
|
||||
"browser.contentblocking.cfr-milestone.milestone-achieved",
|
||||
|
@ -87,6 +88,8 @@ add_task(async function doTest() {
|
|||
"Milestones section should no longer be visible in the panel."
|
||||
);
|
||||
|
||||
checkClickTelemetry("milestone_message");
|
||||
|
||||
await closeProtectionsPanel();
|
||||
}
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
<toolbarbutton id="protections-popup-milestones-content"
|
||||
flex="1"
|
||||
wrap="true"
|
||||
oncommand="gProtectionsHandler.openProtections(true);">
|
||||
oncommand="gProtectionsHandler.openProtections(true); gProtectionsHandler.recordClick('milestone_message');">
|
||||
<description id="protections-popup-milestones-text" flex="1"
|
||||
role="heading" aria-level="2"/>
|
||||
<image id="protections-popup-milestones-illustration"/>
|
||||
|
|
|
@ -1606,6 +1606,7 @@ security.ui.protectionspopup:
|
|||
How many times the protections panel was opened.
|
||||
expiry_version: "75"
|
||||
notification_emails:
|
||||
- ewright@mozilla.com
|
||||
- nhnt11@mozilla.com
|
||||
- jhofmann@mozilla.com
|
||||
- chsiang@mozilla.com
|
||||
|
@ -1630,9 +1631,11 @@ security.ui.protectionspopup:
|
|||
"subview_settings",
|
||||
"settings",
|
||||
"full_report",
|
||||
"milestone_message",
|
||||
]
|
||||
bug_numbers:
|
||||
- 1560327
|
||||
- 1602015
|
||||
description: >
|
||||
User interaction by click events in the protections panel.
|
||||
expiry_version: "75"
|
||||
|
|
Загрузка…
Ссылка в новой задаче