1
Fork 0
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:
Linus Groh 2023-03-06 23:43:25 +00:00
parent b410804f54
commit 86589f09dc
3 changed files with 18 additions and 32 deletions

View file

@ -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();