"use strict"; var { LabelUtils } = ChromeUtils.importESModule( "resource://gre/modules/shared/LabelUtils.sys.mjs" ); const TESTCASES = [ { description: "Input contains in a label element.", document: `
`, inputId: "typeA", expectedLabelIds: ["labelA"], }, { description: "Input contains in a label element.", document: ``, inputId: "typeB", expectedLabelIds: ["labelB"], }, { description: '"for" attribute used to indicate input by one label.', document: ` `, inputId: "typeC", expectedLabelIds: ["labelC"], }, { description: '"for" attribute used to indicate input by multiple labels.', document: ``, inputId: "typeD", expectedLabelIds: ["labelD1", "labelD2", "labelD3"], }, { description: '"for" attribute used to indicate input by multiple labels with space prefix/postfix.', document: ` `, inputId: " typeE ", expectedLabelIds: [], }, { description: "Input contains in a label element.", document: `