mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
LibWeb: Run setTimeout() and setInterval() callbacks as HTML tasks
We now invoke DOM timer callbacks via HTML tasks. This brings callback sequencing closer to the spec, although there are still many imperfections in this area.
This commit is contained in:
parent
9d17070047
commit
5cf439cce0
2 changed files with 11 additions and 9 deletions
|
@ -25,6 +25,7 @@ public:
|
|||
IdleTask,
|
||||
PostedMessage,
|
||||
Microtask,
|
||||
TimerTask,
|
||||
};
|
||||
|
||||
static NonnullOwnPtr<Task> create(Source source, DOM::Document* document, Function<void()> steps)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue