Closed Bug 1591333 Opened 5 years ago Closed 5 years ago

Extension keyboard shortcut cannot be completely removed

Categories

(WebExtensions :: Frontend, enhancement)

69 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1520119

People

(Reporter: dw-dev, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

It is not possible to completely an extension's keyboard shortcut.

An extension's keyboard shortcut can be set in the Add-ons Manager (Manage Extensions Shortcuts) or using the commands.update() API.

However, neither the Add-ons Manager nor the commands.update() API provide a way of completely removing an extension's keyboard shortcut.

Actual results:

You can change an extension's keyboard shortcut, but you cannot remove it.

Expected results:

There should be a way to remove an extension's keyboard shortcut.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Component: Untriaged → Frontend
Product: Firefox → WebExtensions
Resolution: --- → DUPLICATE

Bug 1520119 partially addresses this bug report.

As a developer of many extensions, I would like the commands.update() API to be updated to allow removal of an extension keyboard shortcut. Alternatively, there could be a new API such as commands.remove() or commands.delete().

(In reply to dw-dev from comment #2)

I would like the commands.update() API to be updated to allow removal of an extension keyboard shortcut.

That's bug 1475043.

You need to log in before you can comment on or make changes to this bug.