Bug 1347329 - After splitting browser_selectpopup.js up, disable it on Linux per
bug 1329991. r?mossop
MozReview-Commit-ID: 7ibIywvYsBn
--- a/browser/base/content/test/forms/browser.ini
+++ b/browser/base/content/test/forms/browser.ini
@@ -1,7 +1,8 @@
[DEFAULT]
support-files =
head.js
[browser_selectpopup.js]
skip-if = os == "linux" # Bug 1329991 - test fails intermittently on Linux builds
[browser_selectpopup_colors.js]
+skip-if = os == "linux" # Bug 1329991 - test fails intermittently on Linux builds
--- a/browser/base/content/test/forms/browser_selectpopup_colors.js
+++ b/browser/base/content/test/forms/browser_selectpopup_colors.js
@@ -151,16 +151,25 @@ function* testSelectColors(select, itemC
child = child.nextSibling;
}
yield hideSelectPopup(selectPopup, "escape");
yield BrowserTestUtils.removeTab(tab);
}
+add_task(function* setup() {
+ yield SpecialPowers.pushPrefEnv({
+ "set": [
+ ["dom.select_popup_in_parent.enabled", true],
+ ["dom.forms.select.customstyling", true]
+ ]
+ });
+});
+
// This test checks when a <select> element has styles applied to <option>s within it.
add_task(function* test_colors_applied_to_popup_items() {
yield testSelectColors(PAGECONTENT_COLORS, 7,
{skipSelectColorTest: true});
});
// This test checks when a <select> element has styles applied to itself.
add_task(function* test_colors_applied_to_popup() {