diff --git a/files/en-us/mozilla/add-ons/webextensions/api/menus/action_menu_top_level_limit/index.md b/files/en-us/mozilla/add-ons/webextensions/api/menus/action_menu_top_level_limit/index.md index ff45cb03c1c358d..1eab01925eb9e41 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/menus/action_menu_top_level_limit/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/menus/action_menu_top_level_limit/index.md @@ -6,7 +6,7 @@ browser-compat: webextensions.api.menus.ACTION_MENU_TOP_LEVEL_LIMIT sidebar: addonsidebar --- -The maximum number of top level extension items that can be added to a menu item whose {{WebExtAPIRef("contextMenus.ContextType", "ContextType")}} is "browser_action" or "page_action". 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 {{WebExtAPIRef("menus.ContextType", "ContextType")}} is "browser_action" or "page_action". Any items beyond this limit will be ignored. Its value is `6` on Firefox and Chrome. diff --git a/files/en-us/mozilla/add-ons/webextensions/api/pageaction/onclicked/index.md b/files/en-us/mozilla/add-ons/webextensions/api/pageaction/onclicked/index.md index f7fe9115db4415c..1fd9c716f4fed98 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/pageaction/onclicked/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/pageaction/onclicked/index.md @@ -8,7 +8,7 @@ sidebar: addonsidebar Fired when a page action icon is clicked. This event will not fire if the page action has a popup. -To define a right-click action, use the {{WebExtAPIRef('contextMenus')}} API with the "page_action" {{WebExtAPIRef('contextMenus/ContextType', 'context type', '', 'nocode')}}. +To define a right-click action, use the {{WebExtAPIRef('menus')}} API with the "page_action" {{WebExtAPIRef('menus/ContextType', 'context type', '', 'nocode')}}. ## Syntax diff --git a/files/en-us/mozilla/firefox/releases/136/index.md b/files/en-us/mozilla/firefox/releases/136/index.md index befd412692d003a..fae2f26e346f5af 100644 --- a/files/en-us/mozilla/firefox/releases/136/index.md +++ b/files/en-us/mozilla/firefox/releases/136/index.md @@ -75,7 +75,7 @@ This article provides information about the changes in Firefox 136 that affect d ## Changes for add-on developers - Adds the `preferred_environment` property to the [`background` manifest key](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background), enabling extensions to request that the browser run their background scripts as a document or service worker ([Firefox bug 1798655](https://bugzil.la/1798655)). -- {{WebExtAPIRef("menus.update")}} and {{WebExtAPIRef("menus.remove")}} and the aliases {{WebExtAPIRef("contextMenus.update")}} and {{WebExtAPIRef("contextMenus.remove")}} now reject with an error when the menu item doesn't exist. Previously, the error was ignored and the promise fulfilled. ([Firefox bug 1688743](https://bugzil.la/1688743)). +- {{WebExtAPIRef("menus.update")}} and {{WebExtAPIRef("menus.remove")}} and the aliases {{WebExtAPIRef("menus.update")}} and {{WebExtAPIRef("menus.remove")}} now reject with an error when the menu item doesn't exist. Previously, the error was ignored and the promise fulfilled. ([Firefox bug 1688743](https://bugzil.la/1688743)). - A new version of the {{WebExtAPIRef("userScripts")}} API is available on desktop Firefox. This version of the API is for use in Manifest V3 extensions and provides broad compatibility with Chrome, although [permissions mechanisms](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/userScripts#permissions) differ across the browsers. ([Firefox bug 1943050](https://bugzil.la/1943050)). - The `canResume` property of {{WebExtAPIRef("downloads.DownloadItem")}} is now set to `true` when a download fails with `NETWORK_FAILED`. This enables downloads that fail due to a network error to be resumed using {{WebExtAPIRef("downloads.resume","downloads.resume()")}}. ([Firefox bug 1694049](https://bugzil.la/1694049)).