1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:27:36 +00:00

LibWeb: Add the IdleDeadline interface from the RequestIdleCallback spec

This commit is contained in:
Andreas Kling 2021-09-17 01:42:36 +02:00
parent 64df30230d
commit 11bb6e045f
6 changed files with 83 additions and 1 deletions

View file

@ -0,0 +1,6 @@
[Exposed=Window] interface IdleDeadline {
double timeRemaining();
readonly attribute boolean didTimeout;
};