mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 13:55:00 +00:00
LibWeb: Define HTML::perform_a_microtask_checkpoint()
This was declared and not defined.
This commit is contained in:
parent
67357fe984
commit
c1649e3372
1 changed files with 5 additions and 0 deletions
|
@ -251,6 +251,11 @@ void queue_a_microtask(DOM::Document* document, Function<void()> steps)
|
|||
event_loop.microtask_queue().enqueue(move(microtask));
|
||||
}
|
||||
|
||||
void perform_a_microtask_checkpoint()
|
||||
{
|
||||
main_thread_event_loop().perform_a_microtask_checkpoint();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/#perform-a-microtask-checkpoint
|
||||
void EventLoop::perform_a_microtask_checkpoint()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue