Intent to implement and ship: InputEvent.data and InputEvent.dataTransfer
36 views
Skip to first unread message
Masayuki Nakano
unread,
Feb 10, 2019, 6:22:23 PM2/10/19
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-platform
We need to implement InputEvent.data and InputEvent.dataTransfer because
they are important information for web apps especially for "beforeinput"
event listeners. So, we need to implement these attributes before
implementing "beforeinput" event. The bug is here:
https://bugzilla.mozilla.org/show_bug.cgi?id=998941
Those attributes tell what content is inserted ("input") or will be
inserted ("beforeinput") to web apps.
Those are implemented by both Chrome and Safari, but their
implementation are not enough though (e.g., "input" event is not set
those values properly in a lot of cases). But I'm going to add check of
those attributes into WPT as far as possible at landing the patches and
I'll file bugs for them.
Currently, I plan to enable them by default in all channels like
InputEvent.inputType. If we would get web-compat issues, e.g., they are
used to detect "beforeinput" event support, then, I'd disable them in a
follow up bug.