Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1925468 - Factor out "Get Trusted Type Data For Attribute". r=smaug
This patch introduces TrustedTypeUtils::GetTrustedTypeDataForAttribute to implement the corresponding algorithm from the spec: https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-data-for-attribute It is currently only used by TrustedTypePolicyFactory::GetAttributeType but "Get Trusted Types-compliant attribute value" will use it to when we implement trusted types for setAttribute/setAttributeNS. https://w3c.github.io/trusted-types/dist/spec/#validate-attribute-mutation Differential Revision: https://phabricator.services.mozilla.com/D227926 UltraBlame original commit: d0f1354e499346707784337f05f60bee3de283b1
- Loading branch information