web-feature: isInputPending()
The navigator.scheduling.isInputPending() method checks if there are pending input events, such as touch or mouse events. This allows you to yield from long-running scripts that might be blocking user interaction.
WPE MiniBrowser
Linux
2026-05
Servo
Android
2026-05