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

LibWeb: Add the requestIdleCallback/cancelIdleCallback API

This commit is contained in:
Simon Wanner 2022-04-01 19:46:29 +02:00 committed by Linus Groh
parent 836d2ff259
commit ea9857a423
4 changed files with 80 additions and 1 deletions

View file

@ -131,6 +131,9 @@ private:
JS_DECLARE_NATIVE_FUNCTION(queue_microtask);
JS_DECLARE_NATIVE_FUNCTION(request_idle_callback);
JS_DECLARE_NATIVE_FUNCTION(cancel_idle_callback);
JS_DECLARE_NATIVE_FUNCTION(crypto_getter);
#define __ENUMERATE(attribute, event_name) \