diff --git a/accessible/tests/mochitest/textattrs/test_mathml.html b/accessible/tests/mochitest/textattrs/test_mathml.html
index 14a8decc9dd4..e6936ebc7f11 100644
--- a/accessible/tests/mochitest/textattrs/test_mathml.html
+++ b/accessible/tests/mochitest/textattrs/test_mathml.html
@@ -21,20 +21,11 @@
testTextAttrs(id, 0, {}, defAttrs, 0, 1);
}
- // These elements contain a surrogate pair, so the end offset is 2.
- for (const id of ["mn_double_struck", "mi_italic"]) {
- testTextAttrs(id, 0, {}, defAttrs, 0, 2);
- }
-
SimpleTest.finish();
}
SimpleTest.waitForExplicitFinish();
- SpecialPowers.pushPrefEnv({
- set: [["mathml.legacy_mathvariant_attribute.disabled", true]],
- }).then(() => {
- addA11yLoadEvent(doTest);
- });
+ addA11yLoadEvent(doTest);
@@ -46,9 +37,7 @@