Bug 1347329 - After splitting browser_selectpopup.js up, disable it on Linux per bug 1329991. r?mossop draft
authorJared Wein <jwein@mozilla.com>
Wed, 15 Mar 2017 20:51:02 -0400
changeset 499624 8a077990ca399c43d7c26a816e3c81757fac825a
parent 498550 710e989852cb924c9ffd166d76af42258db4cb3d
child 549399 fbe89ea39a0ae64726aaffd6f3f53eb3f2cbbefe
push id49459
push userbmo:jaws@mozilla.com
push dateThu, 16 Mar 2017 00:52:40 +0000
reviewersmossop
bugs1347329, 1329991
milestone55.0a1
Bug 1347329 - After splitting browser_selectpopup.js up, disable it on Linux per bug 1329991. r?mossop MozReview-Commit-ID: 7ibIywvYsBn
browser/base/content/test/forms/browser.ini
browser/base/content/test/forms/browser_selectpopup_colors.js
--- 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() {