Skip to content

script: remove microtask queue from globalscope - #40371

Merged
jdm merged 1 commit into
servo:mainfrom
Gae24:remove-global-microtask-queue
Nov 3, 2025
Merged

jdm merged 1 commit into
servo:mainfrom
Gae24:remove-global-microtask-queue

Conversation

@Gae24

@Gae24 Gae24 commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Remove the microtask queue from GlobalScope. The queue is moved inside worker global scopes, while for window globals the script thread's queue is accessed.

Testing: Covered by existing tests
Fixes: #20908

@Gae24
Gae24 requested a review from gterzian as a code owner November 3, 2025 12:22
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 3, 2025

@jdm jdm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for cleaning this up!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 3, 2025
@jdm
jdm added this pull request to the merge queue Nov 3, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 3, 2025
Merged via the queue into servo:main with commit 44a0570 Nov 3, 2025
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 3, 2025
@Gae24
Gae24 deleted the remove-global-microtask-queue branch December 5, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Globals have their own microtask queue that is separate from script thread's queue

3 participants