mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1554156 - Update browser_startup_syncIPC.js for WebRender on Windows. r=florian
PLayerTransaction doesn't get used with WebRender. Instead there are some equivalent messages over PWebRenderBridge. Currently this test is only enabled with WebRender on Windows, but as Linux and Mac are added additonal entries might be needed. Differential Revision: https://phabricator.services.mozilla.com/D32553 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
760dbbdc88
commit
bbca3abb12
@ -9,6 +9,7 @@
|
||||
const LINUX = AppConstants.platform == "linux";
|
||||
const WIN = AppConstants.platform == "win";
|
||||
const MAC = AppConstants.platform == "macosx";
|
||||
const WEBRENDER = window.windowUtils.layerManagerType == "WebRender";
|
||||
|
||||
/*
|
||||
* Specifying 'ignoreIfUnused: true' will make the test ignore unused entries;
|
||||
@ -38,9 +39,14 @@ const startupPhases = {
|
||||
},
|
||||
{
|
||||
name: "PLayerTransaction::Msg_GetTextureFactoryIdentifier",
|
||||
condition: WIN,
|
||||
condition: WIN && !WEBRENDER,
|
||||
maxCount: 3,
|
||||
},
|
||||
{
|
||||
name: "PWebRenderBridge::Msg_EnsureConnected",
|
||||
condition: WIN && WEBRENDER,
|
||||
maxCount: 2,
|
||||
},
|
||||
{ // bug 1373773
|
||||
name: "PCompositorBridge::Msg_NotifyChildCreated",
|
||||
condition: !WIN,
|
||||
@ -83,7 +89,7 @@ const startupPhases = {
|
||||
},
|
||||
{
|
||||
name: "PCompositorBridge::Msg_MakeSnapshot",
|
||||
condition: WIN,
|
||||
condition: WIN && !WEBRENDER,
|
||||
ignoreIfUnused: true, // Only on Win10 64
|
||||
maxCount: 1,
|
||||
},
|
||||
@ -99,6 +105,11 @@ const startupPhases = {
|
||||
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
|
||||
maxCount: 1,
|
||||
},
|
||||
],
|
||||
|
||||
// We are at this phase once we are ready to handle user events.
|
||||
@ -113,7 +124,7 @@ const startupPhases = {
|
||||
},
|
||||
{
|
||||
name: "PLayerTransaction::Msg_GetTextureFactoryIdentifier",
|
||||
condition: !MAC,
|
||||
condition: !MAC && !WEBRENDER,
|
||||
maxCount: 1,
|
||||
},
|
||||
{
|
||||
@ -134,6 +145,29 @@ const startupPhases = {
|
||||
ignoreIfUnused: true, // Only on Win7 32
|
||||
maxCount: 1,
|
||||
},
|
||||
{
|
||||
name: "PWebRenderBridge::Msg_GetSnapshot",
|
||||
condition: WIN && WEBRENDER,
|
||||
maxCount: 1,
|
||||
},
|
||||
{
|
||||
name: "PAPZInputBridge::Msg_ProcessUnhandledEvent",
|
||||
condition: WIN && WEBRENDER,
|
||||
ignoreIfUnused: true, // intermittently occurs in "before becoming idle"
|
||||
maxCount: 1,
|
||||
},
|
||||
{
|
||||
name: "PAPZInputBridge::Msg_ReceiveMouseInputEvent",
|
||||
condition: WIN && WEBRENDER,
|
||||
ignoreIfUnused: true, // intermittently occurs in "before becoming idle"
|
||||
maxCount: 1,
|
||||
},
|
||||
{ // bug 1554234
|
||||
name: "PLayerTransaction::Msg_GetTextureFactoryIdentifier",
|
||||
condition: WIN && WEBRENDER,
|
||||
ignoreIfUnused: true, // intermittently occurs in "before becoming idle"
|
||||
maxCount: 1,
|
||||
},
|
||||
],
|
||||
|
||||
// Things that are expected to be completely out of the startup path
|
||||
@ -157,6 +191,18 @@ const startupPhases = {
|
||||
ignoreIfUnused: true, // Only on Win10 64
|
||||
maxCount: 1,
|
||||
},
|
||||
{ // bug 1554234
|
||||
name: "PLayerTransaction::Msg_GetTextureFactoryIdentifier",
|
||||
condition: WIN && WEBRENDER,
|
||||
ignoreIfUnused: true, // intermittently occurs in "before handling user events"
|
||||
maxCount: 1,
|
||||
},
|
||||
{
|
||||
name: "PCompositorBridge::Msg_Initialize",
|
||||
condition: WIN && WEBRENDER,
|
||||
ignoreIfUnused: true, // Intermittently occurs in "before handling user events"
|
||||
maxCount: 1,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
|
@ -21,4 +21,3 @@ environment =
|
||||
[../browser_startup_mainthreadio.js]
|
||||
[../browser_startup_content_mainthreadio.js]
|
||||
[../browser_startup_syncIPC.js]
|
||||
skip-if = webrender # bug 1554156
|
||||
|
Loading…
Reference in New Issue
Block a user