Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian
authorMike Conley <mconley@mozilla.com>
Fri, 14 Jul 2017 15:33:57 -0400
changeset 418956 31409d8a04838a659f4f595f35e3662374f27ab9
parent 418955 b05b1b40f5d296dbb62b495a5c1a3e5480aaa652
child 418957 c89f2a6edabd5cd3eba4ed9a76b3ec3957d29273
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1363361, 1381521, 1380465
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
browser/base/content/test/performance/browser.ini
browser/base/content/test/performance/browser_windowopen_reflows.js
--- 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();