Random thought: the JS side of the API might look like this:
```
synthesizeNativeKey(..., () => {
// The API synthesizes keydown and calls this
// ... synthesize other things ...
// After this function ends, the API synthesizes keyup
});
```
Bug 1713406 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
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
});
```
Random thought: the JS side of the API might look like this:
```js
synthesizeNativeKey(..., async () => {
// The API synthesizes keydown and calls this
// ... synthesize other things ...
// After this function ends, the API synthesizes keyup
});
```