Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r=florian
☠☠ backed out by 9a37323f4289 ☠ ☠
authorMike Conley <mconley@mozilla.com>
Fri, 14 Jul 2017 15:33:57 -0400
changeset 418498 d94de30b99a355df91863e8ff6ff2699ca0ecffe
parent 418497 7a7d6d2d2b2d8e565954f4fbce293bd1ca6fb6e4
child 418499 2f1adcc174ad91375b40dc39815fd1f8b9c4e213
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
@@ -10,8 +10,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();