Skip to content

Consistently use Dom in native promise handlers#37226

Merged
jdm merged 1 commit intoservo:mainfrom
yezhizhen:first-peek-into-servo-smartpointer
Jun 3, 2025
Merged

Consistently use Dom in native promise handlers#37226
jdm merged 1 commit intoservo:mainfrom
yezhizhen:first-peek-into-servo-smartpointer

Conversation

@yezhizhen
Copy link
Copy Markdown
Member

@yezhizhen yezhizhen commented Jun 3, 2025

Use Dom instead of DomRoot for fields of TransmitBodyPromiseRejectionHandler to reduce redundant work by GC, according to discussion in #33604 (comment)

Fixes: #33604

@yezhizhen yezhizhen requested a review from gterzian as a code owner June 3, 2025 06:29
@yezhizhen yezhizhen changed the title Consistently use Dom` in native promise handlers Consistently use Dom in native promise handlers Jun 3, 2025
@yezhizhen yezhizhen force-pushed the first-peek-into-servo-smartpointer branch from c51b7c1 to 2da582e Compare June 3, 2025 06:31
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Thanks!

@jdm jdm added this pull request to the merge queue Jun 3, 2025
Merged via the queue into servo:main with commit 56c0ad8 Jun 3, 2025
22 checks passed
@yezhizhen yezhizhen deleted the first-peek-into-servo-smartpointer branch June 3, 2025 08: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.

Consistently use Dom in native promise handlers

2 participants