mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1843694 Default a11y mochitest to runByManifest and set test_mathml pref in manifest. r=emilio,ahal
Enabling the preference in the test file seems to be causing some flakiness, so do it in the manifest instead. Tweak the runner to make that possible for a11y tests. Differential Revision: https://phabricator.services.mozilla.com/D183722
This commit is contained in:
parent
323860169e
commit
4cb140558d
@ -1,4 +1,6 @@
|
||||
[DEFAULT]
|
||||
prefs =
|
||||
mathml.legacy_mathvariant_attribute.disabled=true
|
||||
support-files =
|
||||
!/accessible/tests/mochitest/*.js
|
||||
!/accessible/tests/mochitest/moz.png
|
||||
|
@ -30,11 +30,7 @@
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SpecialPowers.pushPrefEnv({
|
||||
set: [["mathml.legacy_mathvariant_attribute.disabled", true]],
|
||||
}).then(() => {
|
||||
addA11yLoadEvent(doTest);
|
||||
});
|
||||
addA11yLoadEvent(doTest);
|
||||
</script>
|
||||
</head>
|
||||
<body style="font-size: 12pt">
|
||||
|
@ -4104,7 +4104,7 @@ def run_test_harness(parser, options):
|
||||
)
|
||||
|
||||
options.runByManifest = False
|
||||
if options.flavor in ("plain", "browser", "chrome"):
|
||||
if options.flavor in ("plain", "a11y", "browser", "chrome"):
|
||||
options.runByManifest = True
|
||||
|
||||
if options.verify or options.verify_fission:
|
||||
|
Loading…
Reference in New Issue
Block a user