Bug 1523656 - Set DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED histogram to never expire. r=pbro

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Razvan Caliman 2019-01-31 11:44:35 +00:00
parent a4242462f3
commit bdedab582f
4 changed files with 20 additions and 2 deletions

View File

@ -25,6 +25,7 @@ subsuite = clipboard
[browser_fontinspector_editor-values.js]
[browser_fontinspector_editor-keywords.js]
[browser_fontinspector_expand-css-code.js]
[browser_fontinspector_font-type-telemetry.js]
[browser_fontinspector_input-element-used-font.js]
[browser_fontinspector_no-fonts.js]
[browser_fontinspector_reveal-in-page.js]

View File

@ -0,0 +1,16 @@
/* vim: set ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// Test that telemetry works for tracking the font type shown in the Font Editor.
const TEST_URI = URL_ROOT + "doc_browser_fontinspector.html";
add_task(async function() {
const { inspector } = await openFontInspectorForURL(TEST_URI);
startTelemetry();
await selectNode(".normal-text", inspector);
await selectNode(".bold-text", inspector);
checkTelemetry("DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED", "", null, "hasentries");
});

View File

@ -3,6 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* eslint no-unused-vars: [2, {"vars": "local"}] */
/* import-globals-from ../../../shared/test/telemetry-test-helpers.js */
/* import-globals-from ../../test/head.js */
"use strict";

View File

@ -10509,8 +10509,8 @@
"DEVTOOLS_FONTEDITOR_FONT_TYPE_DISPLAYED": {
"record_in_processes": ["main"],
"alert_emails": ["dev-developer-tools@lists.mozilla.org", "mbalfanz@mozilla.com"],
"expires_in_version": "66",
"bug_numbers": [1465424],
"expires_in_version": "never",
"bug_numbers": [1523656],
"description": "Indicates if the font editor displayed its UI for a non-variable font or a variable font",
"releaseChannelCollection": "opt-out",
"kind": "categorical",