Skip to content

script: Start using &mut JSContext and wrappers2 functions inside module script code#42294

Merged
sagudev merged 4 commits intoservo:mainfrom
Gae24:module-wrappers2
Feb 4, 2026
Merged

script: Start using &mut JSContext and wrappers2 functions inside module script code#42294
sagudev merged 4 commits intoservo:mainfrom
Gae24:module-wrappers2

Conversation

@Gae24
Copy link
Copy Markdown
Contributor

@Gae24 Gae24 commented Feb 2, 2026

Start using &mut JSContext and wrappers2 functions for module script code.

Testing: A successful build should be enough

@Gae24 Gae24 requested a review from gterzian as a code owner February 2, 2026 19:26
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 2, 2026
@Gae24
Copy link
Copy Markdown
Contributor Author

Gae24 commented Feb 2, 2026

@Gae24
Copy link
Copy Markdown
Contributor Author

Gae24 commented Feb 2, 2026

I haven't touched code around PromiseNativeHandler, not sure if I should replace InRealm::Entered with Already.

@sagudev sagudev self-requested a review February 3, 2026 07:20
@sagudev
Copy link
Copy Markdown
Member

sagudev commented Feb 3, 2026

PromiseNativeHandler

It would be nice but we can leave this for follow up.

Copy link
Copy Markdown
Member

@sagudev sagudev left a comment

Choose a reason for hiding this comment

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

Thank you for doing this work. I have some comments but only last two are blocking as others can be left for follow up.

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Feb 3, 2026
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Feb 3, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 4, 2026
@sagudev sagudev added this pull request to the merge queue Feb 4, 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 Feb 4, 2026
Merged via the queue into servo:main with commit fe932a4 Feb 4, 2026
32 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 Feb 4, 2026
@Gae24 Gae24 deleted the module-wrappers2 branch February 5, 2026 18:37
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