Bug 1380011 - adjust the browser_startup_image.js whitelist, r=johannh.
authorFlorian Quèze <florian@queze.net>
Wed, 12 Jul 2017 23:09:49 +0200
changeset 607782 d3157e928734b9a025254e559210004d13febca1
parent 607781 914e475abbf414b129bc322b843541c5e9b0b6ab
child 607783 72ce56d64a62fe06e4c49ab4511c61e6e67cde65
push id68110
push userbmo:nchen@mozilla.com
push dateWed, 12 Jul 2017 21:26:51 +0000
reviewersjohannh
bugs1380011
milestone56.0a1
Bug 1380011 - adjust the browser_startup_image.js whitelist, r=johannh.
browser/base/content/test/performance/browser_startup_images.js
--- a/browser/base/content/test/performance/browser_startup_images.js
+++ b/browser/base/content/test/performance/browser_startup_images.js
@@ -26,47 +26,28 @@
 const whitelist = [
   // Photon-only entries
   {
     file: "chrome://browser/skin/stop.svg",
     platforms: ["linux", "win", "macosx"],
     photon: true,
   },
   {
-    file: "chrome://browser/skin/sidebars.svg",
-    platforms: ["linux", "win", "macosx"],
-    intermittentNotLoaded: ["macosx"],
-    photon: true,
-  },
-  {
-    file: "chrome://pocket-shared/skin/pocket.svg",
-    platforms: ["linux", "win", "macosx"],
-    intermittentNotLoaded: ["macosx"],
-    photon: true,
-  },
-  {
     file: "chrome://browser/skin/toolbarbutton-dropdown-arrow.png",
     platforms: ["win"],
     photon: true,
   },
   {
     file: "chrome://browser/skin/bookmark-hollow.svg",
     platforms: ["linux", "win", "macosx"],
     photon: true,
   },
 
   // Non-Photon-only entries
   {
-    file: "chrome://pocket-shared/skin/pocket.svg",
-    platforms: ["linux", "win", "macosx"],
-    intermittentNotLoaded: ["macosx"],
-    intermittentShown: ["win"],
-    photon: false,
-  },
-  {
     file: "chrome://browser/skin/toolbarbutton-dropdown-arrow.png",
     platforms: ["linux", "win", "macosx"],
     photon: false,
   },
 
   // Shared entries
   {
     file: "chrome://browser/skin/fxa/sync-illustration.svg",
@@ -133,82 +114,123 @@ const whitelist = [
     hidpi: "<not loaded>",
     platforms: ["win", "macosx"],
     intermittentShown: ["win", "macosx"],
   },
 
   {
     file: "chrome://browser/skin/yosemite/tab-selected-start-inactive.svg",
     platforms: ["macosx"],
+    intermittentShown: ["macosx"],
   },
   {
     file: "chrome://browser/skin/yosemite/tab-active-middle-inactive.png",
+    hidpi: "<not loaded>",
     platforms: ["macosx"],
   },
   {
     file: "chrome://browser/skin/yosemite/tab-selected-end-inactive.svg",
     platforms: ["macosx"],
+    intermittentShown: ["macosx"],
   },
   {
     file: "chrome://browser/skin/yosemite/tab-stroke-start-inactive.png",
+    hidpi: "<not loaded>",
     platforms: ["macosx"],
   },
   {
     file: "chrome://browser/skin/yosemite/tab-stroke-end-inactive.png",
+    hidpi: "<not loaded>",
     platforms: ["macosx"],
   },
 
   {
     file: "chrome://browser/skin/tabbrowser/newtab.png",
+    hidpi: "chrome://browser/skin/tabbrowser/newtab@2x.png",
     platforms: ["macosx"],
   },
 
   {
     file: "chrome://global/skin/icons/chevron.png",
     hidpi: "chrome://global/skin/icons/chevron@2x.png",
     platforms: ["macosx"],
   },
 
   {
     file: "chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon.png",
     hidpi: "chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon@2x.png",
     platforms: ["macosx"],
   },
 
   {
+    file: "chrome://pocket/content/panels/img/pocketmenuitem16.png",
+    hidpi: "chrome://pocket/content/panels/img/pocketmenuitem16@2x.png",
+    platforms: ["macosx"],
+  },
+
+  {
+    file: "chrome://browser/skin/places/bookmarksToolbar.png",
+    hidpi: "chrome://browser/skin/places/bookmarksToolbar@2x.png",
+    platforms: ["macosx"],
+  },
+
+  {
+    file: "chrome://global/skin/tree/folder.png",
+    hidpi: "chrome://global/skin/tree/folder@2x.png",
+    platforms: ["macosx"],
+  },
+
+  {
+    file: "chrome://browser/skin/tabbrowser/tab-arrow-left-inverted.png",
+    hidpi: "chrome://browser/skin/tabbrowser/tab-arrow-left-inverted@2x.png",
+    platforms: ["linux", "macosx"],
+  },
+  {
+    file: "chrome://browser/skin/tabbrowser/tab-arrow-right-inverted.png",
+    hidpi: "chrome://browser/skin/tabbrowser/tab-arrow-right-inverted@2x.png",
+    platforms: ["macosx"],
+  },
+
+  {
+    file: "chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted.png",
+    hidpi: "chrome://browser/skin/tabbrowser/alltabs-box-bkgnd-icon-inverted@2x.png",
+    platforms: ["macosx"],
+  },
+
+  {
     file: "chrome://global/skin/toolbar/chevron.gif",
     platforms: ["win", "linux"],
   },
+
   {
     file: "chrome://browser/skin/reload-stop-go.png",
     platforms: ["win", "linux"],
     intermittentShown: ["win", "linux"],
   },
 
   {
     file: "chrome://browser/skin/tabbrowser/alltabs.png",
     platforms: ["linux"],
   },
+  {
+    file: "chrome://browser/skin/tabbrowser/alltabs-inverted.png",
+    platforms: ["linux"],
+  },
 
   {
     file: "chrome://browser/skin/tabbrowser/tab-arrow-left.svg",
     platforms: ["win"],
   },
 
   {
     file: "chrome://global/skin/icons/resizer.png",
     platforms: ["win"],
   },
 
   {
-    file: "chrome://global/skin/icons/resizer.png",
-    platforms: ["win"],
-  },
-
-  {
     file: "chrome://browser/skin/tabbrowser/tab-arrow-left.png",
     hidpi: "chrome://browser/skin/tabbrowser/tab-arrow-left@2x.png",
     platforms: ["linux", "macosx"],
   },
   {
     file: "chrome://browser/skin/tabbrowser/tab-arrow-right.png",
     hidpi: "chrome://browser/skin/tabbrowser/tab-arrow-right@2x.png",
     platforms: ["macosx"],