Bug 1574281. Allow PWebRenderBridge::Msg_GetSnapshot to happen earlier. r=mconley
authorJeff Muizelaar <jrmuizel@gmail.com>
Thu, 15 Aug 2019 20:41:00 +0000
changeset 488347 7bf4620ce1a6210798f737e9e518e79123094bdf
parent 488346 5ae16b0b7a440df1b08490d5c4447dee36b2e179
child 488348 bbea72a272682a99f225f01b9c54a3a866af839d
push id113906
push userncsoregi@mozilla.com
push dateFri, 16 Aug 2019 04:07:24 +0000
treeherdermozilla-inbound@d887276421d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1574281, 1573852
milestone70.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 1574281. Allow PWebRenderBridge::Msg_GetSnapshot to happen earlier. r=mconley The graphics sanity test code calls GetSnapshot early on (see bug 1573852). We currently allow it later, but there's nothing that keeps it from happening early so we should allow it. Differential Revision: https://phabricator.services.mozilla.com/D42191
browser/base/content/test/performance/browser_startup_syncIPC.js
--- a/browser/base/content/test/performance/browser_startup_syncIPC.js
+++ b/browser/base/content/test/performance/browser_startup_syncIPC.js
@@ -89,16 +89,22 @@ const startupPhases = {
     },
     {
       name: "PCompositorBridge::Msg_MakeSnapshot",
       condition: WIN && !WEBRENDER,
       ignoreIfUnused: true, // Only on Win10 64
       maxCount: 1,
     },
     {
+      name: "PWebRenderBridge::Msg_GetSnapshot",
+      condition: WIN && WEBRENDER,
+      ignoreIfUnused: true, // Sometimes in the next phase on Windows10 QR
+      maxCount: 1,
+    },
+    {
       name: "PCompositorBridge::Msg_WillClose",
       condition: WIN,
       ignoreIfUnused: true, // Only on Win10 64
       maxCount: 2,
     },
     {
       name: "PAPZInputBridge::Msg_ProcessUnhandledEvent",
       condition: WIN,