Bug 1347329 - After splitting browser_selectpopup.js up, disable it on Linux per bug 1329991. r=mossop

MozReview-Commit-ID: 7ibIywvYsBn

--HG--
extra : rebase_source : 57f8a0def3e7520520410b566c5ff180f1180491
This commit is contained in:
Jared Wein 2017-03-15 20:51:02 -04:00
Родитель 925e02b6ec
Коммит c83f42c128
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -5,3 +5,4 @@ support-files =
[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

Просмотреть файл

@ -156,6 +156,15 @@ function* testSelectColors(select, itemCount, options) {
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,