Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 4b1c987

Browse files
author
Sandor Molnar
committed
Backed out 4 changesets (bug 1927214, bug 1931442) for causing bc failures @ browser_experimental_features_resetall.js CLOSED TREE
Backed out changeset 015ee1aceffe (bug 1927214) Backed out changeset bd0405562d20 (bug 1927214) Backed out changeset 181a5534f909 (bug 1927214) Backed out changeset 86fe51ead170 (bug 1931442)
1 parent 052f77e commit 4b1c987

File tree

9 files changed

+321
-371
lines changed

9 files changed

+321
-371
lines changed

toolkit/content/tests/widgets/input-test-helpers.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -665,26 +665,4 @@ class InputTestHelpers {
665665
{ type: "change", localName: selector, value: TEST_STRING },
666666
]);
667667
}
668-
669-
async verifyAriaLabel(selector) {
670-
const ARIA_LABEL = "I'm not visible";
671-
let ariaLabelTemplate = this.templateFn({
672-
value: "default",
673-
"aria-label": ARIA_LABEL,
674-
});
675-
let renderTarget = await this.renderInputElements(ariaLabelTemplate);
676-
let input = renderTarget.querySelector(selector);
677-
678-
let labelText = input.shadowRoot.querySelector(".text");
679-
ok(!labelText, "No visible label text is rendered.");
680-
ok(
681-
!input.getAttribute("aria-label"),
682-
"aria-label is not set on the outer element."
683-
);
684-
is(
685-
input.inputEl.getAttribute("aria-label"),
686-
ARIA_LABEL,
687-
"The aria-label is set on the input element."
688-
);
689-
}
690668
}

toolkit/content/tests/widgets/test_moz_input_search.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
add_task(async function testMozInputSearchEvents() {
2929
await testHelpers.testTextBasedInputEvents("moz-input-search");
3030
});
31-
32-
add_task(async function testMozInputSearchAriaLabel() {
33-
await testHelpers.verifyAriaLabel("moz-input-search");
34-
});
3531
</script>
3632
</head>
3733
<body>

0 commit comments

Comments
 (0)