Closed Bug 1801531 Opened 1 year ago Closed 11 months ago

Implement browser.commands.onChanged

Categories

(WebExtensions :: General, enhancement, P5)

Firefox 109
Desktop
Unspecified
enhancement

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: gregp, Assigned: gregp)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [wecg])

Attachments

(1 file)

Suggested by hanguokai at w3c/webextensions#308.

Basically, when a command's shortcut is updated, this event returns an object with three properties:

name: The name of the command.
newShortcut: The new shortcut used to execute this command.
oldShortcut: The old shortcut which no longer executes this command.

Assignee: nobody → gp3033
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P5
Whiteboard: [wecg]
Keywords: dev-doc-needed
Pushed by rob@robwu.nl:
https://hg.mozilla.org/integration/autoland/rev/01bf4accbd2a
Implement 'browser.commands.onChanged' r=robwu
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
See Also: → 1834239

MDN documentation provided in:

  • (content) Adds documentation for commands.onChanged #26942
  • (BCD) Addition of commands.onChanged #19944
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: