From fc84b074d55c47a71a1ba680f6bfac3774b356cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Wed, 23 Oct 2024 07:52:47 +0000 Subject: [PATCH] Add WPT tests for getAttributeType with event handler content attributes. The spec is not really clear, for now add a tentative test with the cases detected while implementing the method in Firefox. For details, see https://github.com/w3c/trusted-types/issues/520 Differential Revision: https://phabricator.services.mozilla.com/D226442 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1917783 gecko-commit: 474afb5197ff041a421591d890dd339a2b23fe08 gecko-reviewers: smaug --- ...-handler-content-attributes.tentative.html | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 trusted-types/TrustedTypePolicyFactory-getAttributeType-event-handler-content-attributes.tentative.html diff --git a/trusted-types/TrustedTypePolicyFactory-getAttributeType-event-handler-content-attributes.tentative.html b/trusted-types/TrustedTypePolicyFactory-getAttributeType-event-handler-content-attributes.tentative.html new file mode 100644 index 00000000000000..efdcf265622fb5 --- /dev/null +++ b/trusted-types/TrustedTypePolicyFactory-getAttributeType-event-handler-content-attributes.tentative.html @@ -0,0 +1,48 @@ + + + + + + + + + + +