Under the hood
Useful2 Signal3
Plugins can now be handed key presses through the UI hook interface.
What's wrong with this entry?
Anonymous. No account, no email.
What
The plugin worker interface adds a way to deliver a key press to a plugin and to release presses it is holding, both scoped to a plugin environment.
Details
- Each call is bounded by the shared handler time budget.
- A press whose payload cannot be structured-cloned is rejected with a message saying the press is not plain data.
- Tearing down or retiring a plugin now forgets any presses it was still holding.
Evidence
ui.press: the press is not plain data:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.