Bug 1573681. Allow 0 calls to GetDeviceStatus. r=florian
authorJeff Muizelaar <jrmuizel@gmail.com>
Wed, 14 Aug 2019 14:11:38 +0000
changeset 487912 9a042cc80b6eec16175b903d9f67d4f3b69c5a3a
parent 487911 9c26864bb07d3d51f55f3ca183c32b21114200b3
child 487913 786e33943f52dc58c86bf477158c689265ce928c
push id36433
push userbtara@mozilla.com
push dateWed, 14 Aug 2019 21:57:52 +0000
treeherdermozilla-central@7d9a2196d313 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1573681
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 1573681. Allow 0 calls to GetDeviceStatus. r=florian If Init() completes before we call EnsureGPUReady we won't send GetDeviceStatus so we can safely ignore if unused. Differential Revision: https://phabricator.services.mozilla.com/D41851
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
@@ -103,16 +103,19 @@ const startupPhases = {
       name: "PAPZInputBridge::Msg_ProcessUnhandledEvent",
       condition: WIN,
       ignoreIfUnused: true, // Only on Win10 64
       maxCount: 1,
     },
     {
       name: "PGPU::Msg_GetDeviceStatus",
       condition: WIN && WEBRENDER, // bug 1553740 might want to drop the WEBRENDER clause here
+      // If Init() completes before we call EnsureGPUReady we won't send GetDeviceStatus
+      // so we can safely ignore if unused.
+      ignoreIfUnused: true,
       maxCount: 1,
     },
   ],
 
   // We are at this phase once we are ready to handle user events.
   // Any IO at this phase or before gets in the way of the user
   // interacting with the first browser window.
   "before handling user events": [