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
--- a/browser/base/content/test/performance/browser.ini
+++ b/browser/base/content/test/performance/browser.ini
@@ -11,8 +11,9 @@ skip-if = !debug
[browser_tabclose_grow_reflows.js]
[browser_tabclose_reflows.js]
[browser_tabopen_reflows.js]
[browser_tabopen_squeeze_reflows.js]
[browser_tabswitch_reflows.js]
[browser_toolbariconcolor_restyles.js]
[browser_windowclose_reflows.js]
[browser_windowopen_reflows.js]
+skip-if = os == 'linux' # Disabled due to frequent failures. Bug 1380465.
--- a/browser/base/content/test/performance/browser_windowopen_reflows.js
+++ b/browser/base/content/test/performance/browser_windowopen_reflows.js
@@ -124,16 +124,22 @@ if (Services.appinfo.OS == "WINNT" || Se
);
}
/*
* This test ensures that there are no unexpected
* 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.
Services.obs.notifyObservers(null, "startupcache-invalidate");
Services.obs.notifyObservers(null, "chrome-flush-skin-caches");
Services.obs.notifyObservers(null, "chrome-flush-caches");
let win = OpenBrowserWindow();