Skip to content

Commit

Permalink
Nonexistent menu items now return an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rebloor committed Jan 20, 2025
1 parent b2ac8c6 commit b448fc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/en-us/mozilla/firefox/releases/136/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ This article provides information about the changes in Firefox 136 that affect d

## Changes for add-on developers

- {{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, rather than returning `undefined` ([Firefox bug 1688743](https://bugzil.la/1688743)).

### Removals

### Other
Expand Down

0 comments on commit b448fc1

Please sign in to comment.