Skip to content

Commit

Permalink
Bug 1180574 - Disable fullscreen-api-race subtest 'openNewWindow, nav…
Browse files Browse the repository at this point in the history
…igate' on Linux 32bit. r=philor

--HG--
extra : source : 4da317d99508fee4175f6fc22f074b7433250ed2
  • Loading branch information
upsuper committed Jul 7, 2015
1 parent bf3023d commit cef843d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions dom/html/test/test_fullscreen-api-race.html
Expand Up @@ -72,11 +72,29 @@
}
];

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 };
}
}
}
}
Expand Down

0 comments on commit cef843d

Please sign in to comment.