Closed Bug 2015114 Opened 3 months ago Closed 2 months ago

Remove code for KeyboardEvent.initKeyEvent

Categories

(Core :: DOM: Events, task)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: mathew.hodson, Assigned: mathew.hodson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

KeyboardEvent.initKeyEvent was unexposed to the Web by default in bug 1717760 and will be disabled for addons in bug 2015079.

Also remove dom.keyboardevent.init_key_event.enabled_in_addons pref.

Let's not land the removal too early. Copied from https://bugzilla.mozilla.org/show_bug.cgi?id=1842988#c6 :

The pref is false on release 147 by bug 1848384, which triggered a regression report at bug 2013772.

We are going to default to false to finalize the deprecation process in bug 2015079, but let's not rush to remove ASAP. Instead, let's monitor the fallout, and only finalize the removal if the impact is shown to be limited. Despite having deprecated years ago, users on release only started experiencing the effects from 147 on, and people used to old versions of an add-on working probably need some time to migrate to something else.

Yeah I set the patch to WIP for that reason. I thought I would create this bug and still upload the patch because I had already started working on it before I noticed the regression in bug 2013772.

Assignee: nobody → mathew.hodson
Attachment #9543184 - Attachment description: WIP: Bug 2015114 - Remove code for KeyboardEvent.initKeyEvent → Bug 2015114 - Remove code for KeyboardEvent.initKeyEvent r=masayuki
Status: NEW → ASSIGNED
No longer depends on: 1842988
See Also: → 1842988

Can you land this for me?

Flags: needinfo?(smaug)

done.

Flags: needinfo?(smaug)
Pushed by masayuki@d-toybox.com: https://github.com/mozilla-firefox/firefox/commit/d3d87ed50ca4 https://hg.mozilla.org/integration/autoland/rev/b39af81e8644 Remove code for KeyboardEvent.initKeyEvent r=masayuki,webidl,frontend-codestyle-reviewers,smaug
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
See Also: → 2037710
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: