Skip to content

Use undefined as this in trusted type callbacks #53287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2025

Conversation

servo-wpt-sync
Copy link
Collaborator

As discussed in w3c/trusted-types#468 the spec will be aligned to the other browsers, which call the callback with undefined as this.

That also allows us to cleanup the JSContext arguments across a couple of methods.

Reviewed in servo/servo#37594

As discussed in w3c/trusted-types#468 the spec will be
aligned to the other browsers, which call the callback
with undefined as this.

That also allows us to cleanup the JSContext arguments
across a couple of methods.

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync servo-wpt-sync merged commit 88ca45e into web-platform-tests:master Jun 21, 2025
25 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_37594 branch June 21, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants