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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user