Skip to content

script: Pass &mut JSContext to reflect_node_with_proto#43952

Merged
sagudev merged 1 commit into
servo:mainfrom
TimvdLippe:cx-node-reflect-prot
Apr 5, 2026
Merged

script: Pass &mut JSContext to reflect_node_with_proto#43952
sagudev merged 1 commit into
servo:mainfrom
TimvdLippe:cx-node-reflect-prot

Conversation

@TimvdLippe

Copy link
Copy Markdown
Contributor

A lot (and I mean, really a lot) depends on these constructors. Therefore, this is the one spaghetti ball that I could extract and convert all can_gc to cx. There are some new introductions of temp_cx in the callbacks of the servo parser, but we already had some in other callbacks.

Part of #40600

Testing: It compiles

A lot (and I mean, really a lot) depends on these constructors.
Therefore, this is the one spaghetti ball that I could extract
and convert all `can_gc` to `cx`. There are some new introductions
of `temp_cx` in the callbacks of the servo parser, but we already
had some in other callbacks.

Part of servo#40600

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
@TimvdLippe TimvdLippe requested a review from sagudev April 5, 2026 17:59
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 5, 2026
@TimvdLippe

Copy link
Copy Markdown
Contributor Author

It's Sunday and Easter, so I figured times were quiet to merge this change through.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 5, 2026
@sagudev sagudev enabled auto-merge April 5, 2026 18:05
@sagudev sagudev added this pull request to the merge queue Apr 5, 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 Apr 5, 2026
Merged via the queue into servo:main with commit a1c8896 Apr 5, 2026
33 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 Apr 5, 2026
@yezhizhen

Copy link
Copy Markdown
Member

Thank you for doing this!

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.

4 participants