Skip to content

[Gecko Bug 1968383] Add more Trusted Type tests for HTML/SVG script enforcements. #52885

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 3 commits into from
Jun 2, 2025

Conversation

moz-wptsync-bot
Copy link
Collaborator

Differential Revision: https://phabricator.services.mozilla.com/D251094

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1968383
gecko-commit: 5966d24c9bcd7c9db515424651b59428a41e1c22
gecko-reviewers: smaug

fred-wang added 3 commits May 31, 2025 10:53
Differential Revision: https://phabricator.services.mozilla.com/D251094

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1968383
gecko-commit: 5966d24c9bcd7c9db515424651b59428a41e1c22
gecko-reviewers: smaug
…ormed by the default policy.

This verifies that the source text transformed by the default policy is used
for various steps of "prepare the script element":

https://html.spec.whatwg.org/#prepare-the-script-element
PR w3c/trusted-types#579

Differential Revision: https://phabricator.services.mozilla.com/D251456

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1968383
gecko-commit: b40ba3e6cd668c9890ed7e4c6bdfdf2ee60cbcc4
gecko-reviewers: smaug
This verifies sink mismatch violation report for script enforcement
rules. When a default policy is specified, this is reported as a
script-src-elem violation and the script's text source is actually
not reported to the user.

Differential Revision: https://phabricator.services.mozilla.com/D251850

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1968383
gecko-commit: 06d9162cd87717864a647c3981c86e21728eb100
gecko-reviewers: smaug
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 Firefox project.

@lutien lutien closed this Jun 2, 2025
@lutien lutien reopened this Jun 2, 2025
@lutien lutien closed this Jun 2, 2025
@lutien lutien reopened this Jun 2, 2025
@moz-wptsync-bot moz-wptsync-bot merged commit b078a86 into master Jun 2, 2025
19 checks passed
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1968383 branch June 2, 2025 08:54
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.

4 participants