Open
Bug 1713406
Opened 4 years ago
Updated 4 years ago
Add a way to synthesize modifier keys and keep it while synthesizing other inputs
Categories
(Core :: Widget: Win32, enhancement, P5)
Core
Widget: Win32
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
Details
Bug 1710316 couldn't get a test since there is no way to do that.
| Reporter | ||
Comment 1•4 years ago
•
|
||
Random thought: the JS side of the API might look like this:
synthesizeNativeKey(..., async () => {
// The API synthesizes keydown and calls this
// ... synthesize other things ...
// After this function ends, the API synthesizes keyup
});
Comment 2•4 years ago
|
||
As I said that I'm afraid about the stateful API, SetKeyboardState. If the test causes JS error or unexpected timeout during the function, the state won't be restored and next test will start. So, it may be harder to understand the failure than usual ones.
Updated•4 years ago
|
Severity: -- → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•