From 5f76ecca6e01d079052df437c7d9886063fede5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Mon, 19 Aug 2019 07:37:08 +0000 Subject: [PATCH] Bug 1574773 - Permafailing layout/mathml/tests/test_bug553917.html. r=emilio Update test_bug553917 so that it does not expect invalid lengths for "thin", "thick", "medium" when mfrac linethickness names are allowed. This fixes failure in non-nightly builds where these names are not disabled yet. Differential Revision: https://phabricator.services.mozilla.com/D42455 --HG-- extra : moz-landing-system : lando --- layout/mathml/tests/test_bug553917.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layout/mathml/tests/test_bug553917.html b/layout/mathml/tests/test_bug553917.html index 2ea37344605f..042f41d00bd5 100644 --- a/layout/mathml/tests/test_bug553917.html +++ b/layout/mathml/tests/test_bug553917.html @@ -14,6 +14,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=553917 .getService(SpecialPowers.Ci.nsIStringBundleService); var g_bundl = stringBundleService.createBundle("chrome://global/locale/mathml/mathml.properties"); + + const allow_linethickness_names = !SpecialPowers.getBoolPref('mathml.mfrac_linethickness_names.disabled'); var g_errorInfo = { /* @@ -58,7 +60,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=553917 12 */ LengthParsingError : { - status: [false, false, false, false, false, false, false, false, false], + status: [false, false, false, false, false, false, allow_linethickness_names, allow_linethickness_names, allow_linethickness_names], args: [["2..0"], ["1.5notaunit"], ["2"],["BADlspace"],["BADheight"],["BADdepth"], ["thin"],["medium"],["thick"]] }, /*