Bug 1813531 - Relax condition for row containing utility process. r=smaug

Depends on D167785

Differential Revision: https://phabricator.services.mozilla.com/D168252
This commit is contained in:
Andreas Farre 2023-02-06 15:52:29 +00:00
parent 47c5c3cc00
commit 2c3a7ac8e8

View File

@ -600,7 +600,7 @@ async function testAboutProcessesWithConfig({ showAllFrames, showThreads }) {
row.classList.contains("process") &&
["web", "webIsolated"].includes(row.process.type),
},
// A utility process with audio decoder.
// A utility process with at least one actor.
{
name: "utility",
predicate: row =>
@ -608,8 +608,7 @@ async function testAboutProcessesWithConfig({ showAllFrames, showThreads }) {
row.process.type == "utility" &&
row.classList.contains("process") &&
row.nextSibling &&
row.nextSibling.classList.contains("actor") &&
row.nextSibling.actor.actorName === "audioDecoder_Generic",
row.nextSibling.classList.contains("actor"),
},
];
for (let finder of processesToBeFound) {