Skip to content

Conversation

@sagudev
Copy link
Member

@sagudev sagudev commented Jan 8, 2026

This change is reviewable per commits:
In first commit we added &mut JSContext to run_box (it is very hard to bring &mut JSContext to remove_script_and_layout_blocker).
In second commit we pass &mut JSContext to run_once.
In third commit we added support for accepting &mut JSContext in closures of task! macro and lastly we demo new macro invocations (to ensure they actually compile)

Testing: Just refactor, but should be covered by WPT
Part of #40600

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@sagudev sagudev requested a review from gterzian as a code owner January 8, 2026 06:41
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 8, 2026
@sagudev sagudev requested review from jdm and removed request for gterzian January 8, 2026 06:41
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Copy link
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.

Nice!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 8, 2026
@jdm jdm added this pull request to the merge queue Jan 8, 2026
@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 Jan 8, 2026
Merged via the queue into servo:main with commit 89067e5 Jan 8, 2026
29 checks passed
@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 Jan 8, 2026
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.

3 participants