Skip to content
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

Trusted Types: add tests for setAttributeNS with non-lowercase attributes with untrusted strings #44724

Conversation

mbrodesser-Igalia
Copy link
Contributor

Implements the last tests mentioned at w3c/trusted-types#425 (comment).

Please review #44699 first as this PR is based on it.

Copy link
Member

@lukewarlow lukewarlow left a comment

Choose a reason for hiding this comment

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

Aside from the nit this looks good to me

…n element namespace and an attribute namespace

Preparation to implement the tests. See the next commits.
@mbrodesser-Igalia mbrodesser-Igalia force-pushed the TT_425_setAttributeNS_allow_non_lowercase_attributes_with_untrusted_strings branch from 6045e45 to 40eb301 Compare March 7, 2024 13:42
@lukewarlow lukewarlow merged commit 081e2ec into web-platform-tests:master Mar 7, 2024
17 checks passed
BruceDai pushed a commit to BruceDai/wpt that referenced this pull request Mar 25, 2024
…utes with untrusted strings (web-platform-tests#44724)

* Refactor `assert_element_accepts_non_trusted_type_set_ns` to accept an element namespace and an attribute namespace

* Implement the non-lowercase attribute tests
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.

5 participants