зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1180574 - Disable fullscreen-api-race subtest 'openNewWindow, navigate' on Linux 32bit. r=philor
--HG-- extra : source : 4da317d99508fee4175f6fc22f074b7433250ed2
This commit is contained in:
Родитель
bf3023d8e1
Коммит
cef843d35a
|
@ -72,11 +72,29 @@ const ACTION_FUNCS = [
|
|||
}
|
||||
];
|
||||
|
||||
const DISABLE_LIST = [
|
||||
// Bug 1180574
|
||||
{ openWinFunc: "openNewWindow",
|
||||
actionFunc: "navigate",
|
||||
platform: "Linux i686" }
|
||||
];
|
||||
|
||||
function* testGenerator() {
|
||||
for (var openWinFunc of OPEN_WINDOW_FUNCS) {
|
||||
for (var actionFunc of ACTION_FUNCS) {
|
||||
info(`Testing ${openWinFunc.name}, ${actionFunc.name}`);
|
||||
yield { openWinFunc: openWinFunc, actionFunc: actionFunc };
|
||||
var skipTest = false;
|
||||
for (var disabledItem of DISABLE_LIST) {
|
||||
if (openWinFunc.name == disabledItem.openWinFunc &&
|
||||
actionFunc.name == disabledItem.actionFunc &&
|
||||
navigator.platform == disabledItem.platform) {
|
||||
skipTest = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!skipTest) {
|
||||
info(`Testing ${openWinFunc.name}, ${actionFunc.name}`);
|
||||
yield { openWinFunc: openWinFunc, actionFunc: actionFunc };
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче