Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
This commit is contained in:
@@ -333,6 +333,17 @@ var gMainPane = {
|
||||
)
|
||||
) {
|
||||
document.getElementById("pictureInPictureBox").hidden = false;
|
||||
setEventListener("pictureInPictureToggleEnabled", "command", function(
|
||||
event
|
||||
) {
|
||||
if (!event.target.checked) {
|
||||
Services.telemetry.recordEvent(
|
||||
"pictureinpicture.settings",
|
||||
"disable",
|
||||
"settings"
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (AppConstants.platform == "win") {
|
||||
|
||||
Reference in New Issue
Block a user