Issue #1719 - Make <menuitem> pref-controlled and disable by default.

Resolves #1719
This commit is contained in:
Moonchild 2021-01-25 23:18:58 +00:00 • committed by roytam1
commit a828a5f321
12 changed files with 32 additions and 16 deletions

View file

@ -4,6 +4,9 @@ const kPage = "http://example.org/browser/" +
"dom/html/test/file_content_contextmenu.html";
add_task(function* () {
yield SpecialPowers.pushPrefEnv({
set: [["dom.menuitem.enabled", true]],
});
yield BrowserTestUtils.withNewTab({
gBrowser,
url: kPage