mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +00:00
LibWeb/HTML: Port Window.cancelIdleCallback() to IDL
This commit is contained in:
parent
b410804f54
commit
86589f09dc
3 changed files with 18 additions and 32 deletions
|
@ -80,6 +80,7 @@ interface Window : EventTarget {
|
|||
|
||||
// https://w3c.github.io/requestidlecallback/#window_extensions
|
||||
unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
|
||||
undefined cancelIdleCallback(unsigned long handle);
|
||||
|
||||
// https://w3c.github.io/selection-api/#extensions-to-window-interface
|
||||
Selection? getSelection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue