-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency: Permissions "menus" #188
Comments
Naming OS-menu bar |
The two names are FYI on Firefox issue tracker there is also a mention of the two namespaces and potentially deprecating one: https://bugzilla.mozilla.org/show_bug.cgi?id=1718323 |
During today's meeting we talked about considering replacing contextMenus with "menus", and at the same time making a breaking change to the API to fix an API defect: let The Firefox issue for that is at https://bugzilla.mozilla.org/show_bug.cgi?id=1527979. @dotproto Can you comment here when you've heard back from your team about the interest in (1) replacing contextMenus with menus and (2) changing the API signature of |
Safari already implements |
@xeenon To clarify, is this the behavior in Safari?
Firefox has the above behavior. The menus namespace also has more functionality than the contextMenus one, such as menus.getTargetElement, also available in content scripts: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus/getTargetElement I am asking because a potential interpretation of your comment is that requesting menus or contextMenus unlocks both namespaces. |
Yes, that is the behavior in Safari. We don't support the additional Firefox APIs. |
Chrome's current position is that the "menus" and "contextMenus" APIs and associated permissions provide two different sets of capabilities. Chrome does not currently support the concept of custom menus and does not intend to. We are concerned that merging these namespaces/permissions will lead to confusion regarding the intended scope of what Chrome supports. |
Closing this ticket since it is unlikely for there to be any more discussion on this topic. The positions are clear:
|
Currently,
menus
is supported in some browsers. And that only in the Firefox and Safari web browser (but not in iOS).It lacks support in the following web browsers Google Chrome, Opera, Microsoft Edge.
Resources:
The text was updated successfully, but these errors were encountered: