mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add microtask checkpoints on </script> and CE construct
This commit is contained in:
parent
2373769e76
commit
c725f9e84d
6 changed files with 37 additions and 31 deletions
|
@ -90,6 +90,8 @@ impl MicrotaskQueue {
|
|||
// Step 1
|
||||
self.performing_a_microtask_checkpoint.set(true);
|
||||
|
||||
debug!("Now performing a microtask checkpoint");
|
||||
|
||||
// Steps 2
|
||||
while !self.microtask_queue.borrow().is_empty() {
|
||||
rooted_vec!(let mut pending_queue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue