Bug 1607733: Remove the expiring devtools.wrong_shortcut telemetry. r=Harald

Differential Revision: https://phabricator.services.mozilla.com/D59381

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brad Werth 2020-01-09 18:43:56 +00:00
Родитель ee1497a26e
Коммит 342c2113fe
2 изменённых файлов: 0 добавлений и 28 удалений

Просмотреть файл

@ -1047,20 +1047,6 @@ Toolbox.prototype = {
if (!this._hostOptions || this._hostOptions.zoom === true) {
ZoomKeys.register(this.win, this.shortcuts);
}
// Monitor shortcuts that are not supported by DevTools, but might be used
// by users because they are widely implemented in other developer tools
// (example: the command palette triggered via ctrl+P)
const wrongShortcuts = ["CmdOrCtrl+P", "CmdOrCtrl+Shift+P"];
for (const shortcut of wrongShortcuts) {
this.shortcuts.on(shortcut, event => {
this.telemetry.recordEvent("wrong_shortcut", "tools", null, {
shortcut,
tool_id: this.currentToolId,
session_id: this.sessionId,
});
});
}
},
_removeShortcuts: function() {

Просмотреть файл

@ -1517,20 +1517,6 @@ devtools.main:
prompt_enabled: True if the user enables the prompt, false otherwise.
runtime_id: Random id generated to track events related to a single runtime
session_id: The start time of the session in milliseconds since epoch (Unix Timestamp) e.g. 1396381378123.
wrong_shortcut:
objects: ["tools"]
bug_numbers: [1567497]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
record_in_processes: ["main"]
description: User tried to use a shortcut we don't support yet in devtools.
release_channel_collection: opt-out
expiry_version: "75"
extra_keys:
shortcut: The shortcut pressed by the user
tool_id: The id of the panel the user was using
session_id: The start time of the session in milliseconds since epoch (Unix Timestamp) e.g. 1396381378123.
security.ui.protections:
show: