LibWeb: Implement window.queueMicrotask(callback)

This API allows authors to schedule a serialized JS callback that will
get invoked at the next spec-allowed opportunity.
This commit is contained in:
Andreas Kling 2021-09-26 14:36:20 +02:00
commit a248ec63e3
Notes: sideshowbarker 2024-07-18 03:26:12 +09:00
10 changed files with 144 additions and 19 deletions

View file

@ -55,6 +55,8 @@ public:
void clear_timeout(i32);
void clear_interval(i32);
void queue_microtask(JS::FunctionObject&);
int inner_width() const;
int inner_height() const;