Bug 1363361 - Disable browser_windowopen_reflows.js on Linux and Win 8 x64 for frequent failures. r?florian draft
authorMike Conley <mconley@mozilla.com>
Fri, 14 Jul 2017 15:33:57 -0400
changeset 613235 5569889706c243f8a9200b265c02f6f39609d3db
parent 613234 3d50e0f651e5abda983c09441cf41b63016614ed
child 638641 e90aa9b75cd015ef28972f2c0394953c14a663ef
push id69760
push usermconley@mozilla.com
push dateFri, 21 Jul 2017 19:18:20 +0000
reviewersflorian
bugs1363361, 1381521, 1380465
milestone56.0a1
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();