Closed Bug 1495627 Opened 3 years ago Closed 3 years ago

Add "medium.com/p/" to the blacklist to blacklist of strict keypress dispatching

Categories

(Core :: DOM: Events, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox62 --- disabled
firefox63 --- disabled
firefox64 --- disabled

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

The editor of medium.com is not aware of standardized keypress event behavior of Gecko. So, we need to add medium.com/p/ into the blacklist until they will fix the bug by Medium side.
Medium's editor listens to keypress event to handle Ctrl+Z and Ctrl+Y on Gecko.
Therefore, if we don't dispatch keypress events for non-printable keys (by
default on Nightly), users cannot use undo/redo in medium.com.

This patch makes the editor of medium.com into the blacklist of strict
keypress dispatching for avoiding inconvenience of Nightly testers.
Comment on attachment 9013542 [details]
Bug 1495627 - Add "medium.com/p/" into dom.keyboardevent.keypress.hack.dispatch_non_printable_keys

Olli Pettay [:smaug] (r- if the bug doesn't explain what the change(s) are about.) has approved the revision.
Attachment #9013542 - Flags: review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/ef315578d748
Add "medium.com/p/" into dom.keyboardevent.keypress.hack.dispatch_non_printable_keys r=smaug
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/ef315578d748
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.