Closed
Bug 1722473
Opened 3 years ago
Closed 3 years ago
`KeyEvent.initKeyEvent` will be dropped
Categories
(Thunderbird :: Upstream Synchronization, task)
Thunderbird
Upstream Synchronization
Tracking
(thunderbird91 unaffected)
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
thunderbird91 | --- | unaffected |
People
(Reporter: masayuki, Assigned: darktrojan)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
KeyEvent.initKeyEvent
which is a legacy API will be dropped from Gecko because it's not supported by Blink/WebKit. comm-central still uses it in some places:
https://searchfox.org/comm-central/search?q=initKeyEvent&path=&case=true®exp=false
Recommended solution is using:
let event = new KeyboardEvent(eventType, {
bubbles: true,
cancelable: true,
keyCode: someting,
charCode: anything,
};
But using the event constructor changes which
value.
Assignee | ||
Comment 1•3 years ago
|
||
I'll look at this tomorrow. Thanks for letting us know.
Assignee: nobody → geoff
Assignee | ||
Comment 2•3 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b7b3bdecb432
Replace initKeyboardEvent
with new KeyboardEvent
. r=freaktechnik
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•3 years ago
|
status-thunderbird91:
--- → unaffected
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•