Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian

Bug 1381521 and bug 1380465 were opened to investigate and re-enable these tests.

MozReview-Commit-ID: KbiDfqfF0ht

--HG--
extra : rebase_source : c5479538c35a9698c214d463fb59d7ded4128e13
This commit is contained in:
Mike Conley 2017-07-14 15:33:57 -04:00
parent b1e4494633
commit cdc93c59ba
2 changed files with 7 additions and 0 deletions

View File

@ -15,3 +15,4 @@ skip-if = !debug
[browser_toolbariconcolor_restyles.js]
[browser_windowclose_reflows.js]
[browser_windowopen_reflows.js]
skip-if = os == 'linux' # Disabled due to frequent failures. Bug 1380465.

View File

@ -129,6 +129,12 @@ if (Services.appinfo.OS == "WINNT" || Services.appinfo.OS == "Darwin") {
* uninterruptible reflows when opening new windows.
*/
add_task(async function() {
const IS_WIN8 = (navigator.userAgent.indexOf("Windows NT 6.2") != -1);
if (IS_WIN8) {
ok(true, "Skipping this test because of perma-failures on Windows 8 x64 (bug 1381521)");
return;
}
// Flushing all caches helps to ensure that we get consistent
// behaviour when opening a new window, even if windows have been
// opened in previous tests.