Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d2f6fa0e5515d4ede14d8ad5c1a40c5ac62a5cc
      
https://github.com/WebKit/WebKit/commit/6d2f6fa0e5515d4ede14d8ad5c1a40c5ac62a5cc
  Author: Luke Warlow <[email protected]>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getAttributeType-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/set-attributes-require-trusted-types-default-policy-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/set-attributes-require-trusted-types-no-default-policy-expected.txt
    M Source/WebCore/dom/TrustedType.cpp

  Log Message:
  -----------
  TrustedTypes verifies event handlers on incorrect element namespaces
https://bugs.webkit.org/show_bug.cgi?id=289907

Reviewed by Tim Nguyen.

The specification has been updated to only check event handler attributes for 
elements within the XHTML, SVG, and MathML namespaces.

This patch checks the element's namespace matches that list.

* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/TrustedTypePolicyFactory-getAttributeType-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/set-attributes-require-trusted-types-default-policy-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/set-attributes-require-trusted-types-no-default-policy-expected.txt:
* Source/WebCore/dom/TrustedType.cpp:
(WebCore::trustedTypeForAttribute):

Canonical link: https://commits.webkit.org/300783@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to