mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
89cd46a436
Stop checking whether `browser.menus.overrideContext` is called during a `contextmenu` event, because the implementation cannot rely on `window.event` due to bug 1493869. Because of the removed check, `overrideContext` does not throw any more when called outside of a "contextmenu" event. An extra check was added to make sure that this does not impact menus of non-extension documents. The new implementation has the following other effects: - overrideContext can be called from shadow DOM (+tests). - overrideContext can be called for context menu in a different (same-origin) document (e.g. a menu in a blank child frame). Differential Revision: https://phabricator.services.mozilla.com/D7249 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
actors | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
extensions | ||
fonts | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc.js | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
LICENSE | ||
Makefile.in | ||
moz.build | ||
moz.configure |