Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

/* Any copyright is dedicated to the Public Domain.
"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"
);
});