Open Bug 1606470 Opened 6 years ago Updated 3 years ago

Add a chrome webidl mechanism for registering keyboard shortcuts

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement)

enhancement

Tracking

()

People

(Reporter: mossop, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 obsolete files)

In support of bug 1550061 we want to be able to register keyboard shortcuts programmatically rather than relying on the custom xul:key machinery. This will initially include a strawman patch to implement that.

Comment on attachment 9118203 [details]
Bug 1606470: Add a new global shortcut listener that can be registered from JS.

I haven't done much testing of this yet but it seems to work. Do you want to see whether this would work out for a custom element replacement of xul:key?

Attachment #9118203 - Flags: feedback?(bgrinstead)
Assignee: dtownsend → nobody
Attachment #9118203 - Attachment is obsolete: true
Attachment #9118203 - Flags: feedback?(bgrinstead)
Attachment #9118202 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: