mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
LibWeb/HTML: Port Window.requestIdleCallback() to IDL
This commit is contained in:
parent
606b9ff6f3
commit
b410804f54
5 changed files with 59 additions and 41 deletions
|
@ -0,0 +1,6 @@
|
|||
#import <RequestIdleCallback/IdleDeadline.idl>
|
||||
|
||||
dictionary IdleRequestOptions {
|
||||
unsigned long timeout;
|
||||
};
|
||||
callback IdleRequestCallback = undefined (IdleDeadline deadline);
|
Loading…
Add table
Add a link
Reference in a new issue