mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Auto merge of #15189 - jdm:microtasks, r=nox
Implement microtask checkpoints This generalizes the work previously done for Promise job callbacks. There is now a microtask queue that correctly processes all queued microtasks after each turn of the event loop, as well as after a scripted callback finishes executing, and after a classic script executes. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #4283 - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15189) <!-- Reviewable:end -->
This commit is contained in:
commit
cbcafd18f4
14 changed files with 340 additions and 307 deletions
|
@ -109,6 +109,7 @@ mod dom;
|
|||
pub mod fetch;
|
||||
pub mod layout_wrapper;
|
||||
mod mem;
|
||||
mod microtask;
|
||||
mod network_listener;
|
||||
pub mod origin;
|
||||
pub mod script_runtime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue