Feature Request: A Chrome Extension API for generating trusted synthetic key events
Reported by
eejdoo...@gmail.com,
Jan 3 2017
|
|||
Issue descriptionSynthetic events are untrusted and Chrome does not perform default actions on untrusted events. https://groups.google.com/a/chromium.org/d/msg/blink-dev/OzHI2c2vkEo/9Bz-j4PhBAAJ This means that extensions that must programmatically edit text, e.g. virtual keyboard and dictation extensions, are difficult to implement. And when inevitably implemented, they are buggy. See Google's own virtual keyboard extension, which appears to have hard coded logic to handle Gmail's input box and falls apart when it encounters nontrivial textual elements like the Monaco editor. https://chrome.google.com/webstore/detail/google-input-tools/mclkkofklkfljcocdinagocijmpgbhab https://microsoft.github.io/monaco-editor/ This message discusses allowing untrusted events to trigger default behaviors and generating trusted events from chrome extensions. https://groups.google.com/a/chromium.org/d/msg/blink-dev/OzHI2c2vkEo/Xio_AM_2AQAJ This API already implements the requested functionality, but is limited to Chrome OS. https://developer.chrome.com/extensions/input_ime#method-sendKeyEvents Supporting it on other platforms would make it possible to build better accessibility tools.
,
Jan 4 2017
,
Jan 5 2017
Assuming this is a Feature Request changing the status to Untriaged so that the issue could get addressed. Thank You.
,
May 5 2017
...I'd like to extend this feature request to general events of any type. I also filed a similar issue on Bugzilla. https://bugzilla.mozilla.org/show_bug.cgi?id=1348213 |
|||
►
Sign in to add a comment |
|||
Comment 1 by ccameron@chromium.org
, Jan 3 2017