зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1519121 - Fix browser_ext_optionsPage_popups.js test failure on 66 Beta due to userContext feature disabled. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D16219 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
88993e172c
Коммит
0a6194aedc
|
@ -88,9 +88,14 @@ add_task(async function test_tab_options_popups() {
|
|||
"context-openlinkintab",
|
||||
"context-openlinkprivate",
|
||||
"context-copylink",
|
||||
"context-openlinkinusercontext-menu",
|
||||
];
|
||||
|
||||
// Test that the "open link in container" menu is available if the containers are enabled
|
||||
// (which is the default on Nightly, but not on Beta).
|
||||
if (Services.prefs.getBoolPref("privacy.userContext.enabled")) {
|
||||
contextMenuItemIds.push("context-openlinkinusercontext-menu");
|
||||
}
|
||||
|
||||
for (const itemID of contextMenuItemIds) {
|
||||
const item = contentAreaContextMenu.querySelector(`#${itemID}`);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче