Bug 1948364 - part 5: Remove call to force disable screenshots system addon from initPageActionsTest mochitest helper. r=sfoster

Differential Revision: https://phabricator.services.mozilla.com/D238324
This commit is contained in:
Luca Greco
2025-03-06 16:24:03 +00:00
parent 3217eb0532
commit 4ba61a61e8

View File

@@ -318,10 +318,6 @@ async function promisePageActionViewChildrenVisible(panelViewNode) {
async function initPageActionsTest() {
await disableNonReleaseActions();
// Ensure screenshots is really disabled (bug 1498738)
const addon = await AddonManager.getAddonByID("screenshots@mozilla.org");
await addon.disable({ allowSystemAddons: true });
// Make the main button visible. It's not unless the window is narrow. This
// test isn't concerned with that behavior. We have other tests for that.
BrowserPageActions.mainButtonNode.style.visibility = "visible";