menus.ACTION_MENU_TOP_LEVEL_LIMIT
The maximum number of top level extension items that can be added to a menu item whose ContextType is "browseraction" or "pageaction". Any items beyond this limit will be ignored.
The maximum number of top level extension items that can be added to a menu item whose ContextType is "browser_action" or "page_action". Any items beyond this limit will be ignored.
Its value is 6 on Firefox and Chrome.
For compatibility with other browsers, Firefox makes this property available via the contextMenus namespace as well as the menus namespace.
Browser compatibility
[!NOTE] This API is based on Chromium's
chrome.contextMenusAPI. This documentation is derived fromcontext_menus.jsonin the Chromium code.