Skip to content

script: Pass &mut JSContext in trusted types interfaces#43183

Merged
TimvdLippe merged 1 commit intoservo:mainfrom
TimvdLippe:trusted-types-cx
Mar 13, 2026
Merged

script: Pass &mut JSContext in trusted types interfaces#43183
TimvdLippe merged 1 commit intoservo:mainfrom
TimvdLippe:trusted-types-cx

Conversation

@TimvdLippe
Copy link
Copy Markdown
Contributor

Part of #40600

Part of servo#40600

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
@TimvdLippe TimvdLippe marked this pull request as ready for review March 13, 2026 09:41
@TimvdLippe TimvdLippe requested a review from gterzian as a code owner March 13, 2026 09:41
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 13, 2026
Copy link
Copy Markdown
Contributor

@Gae24 Gae24 left a comment

Choose a reason for hiding this comment

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

Unless there's another JSContext in scope, could you import it?

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Mar 13, 2026
@TimvdLippe
Copy link
Copy Markdown
Contributor Author

I would say we should do that as a post-cleanup of the migration. That way it's a lot easier to clean it up, rather than when things are moving around.

@TimvdLippe TimvdLippe added this pull request to the merge queue Mar 13, 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 Mar 13, 2026
Merged via the queue into servo:main with commit 7a383bc Mar 13, 2026
33 checks passed
@TimvdLippe TimvdLippe deleted the trusted-types-cx branch March 13, 2026 13:17
@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 Mar 13, 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