Skip to content

merge_pr_49863

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jan 01:06

part 18) Add sink tests for "get Trusted Types-compliant attribute value".

"get Trusted Types-compliant attribute value" is called from
setAttribute*, for links see the test.

setAttribute and setAttributeNS presumably take the same code-paths,
so only testing setAttributeNS here.

For event handlers only one test is added, because other event handlers
presumably take the same code-paths.

Fixes w3c/trusted-types#570.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1907849
gecko-commit: 42f2f0e18f47e959d64f305cac2c313f34296ce8
gecko-reviewers: smaug