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

LibWeb: Add window.setTimeout()

This also leaks the timer just like setInterval() (FIXME).
This commit is contained in:
Andreas Kling 2020-04-05 00:56:16 +02:00
parent 16bd99aa52
commit ca90f88d4e
4 changed files with 31 additions and 0 deletions

View file

@ -48,6 +48,7 @@ private:
static JS::Value alert(JS::Interpreter&);
static JS::Value set_interval(JS::Interpreter&);
static JS::Value set_timeout(JS::Interpreter&);
static JS::Value request_animation_frame(JS::Interpreter&);
static JS::Value cancel_animation_frame(JS::Interpreter&);