Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 829ee3dbf2a771f11bd4e9f7251d6a626ad98093
      
https://github.com/WebKit/WebKit/commit/829ee3dbf2a771f11bd4e9f7251d6a626ad98093
  Author: Luke Warlow <[email protected]>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-duplicate-names-without-enforcement-expected.txt
    M Source/WebCore/page/csp/ContentSecurityPolicy.cpp

  Log Message:
  -----------
  Trusted types allows duplicate default policies without CSP enforcement
https://bugs.webkit.org/show_bug.cgi?id=268989

Reviewed by Tim Nguyen.

This patch disallows duplicate default policies even without CSP enforcement.

This follows step 3 from 
https://w3c.github.io/trusted-types/dist/spec/#create-trusted-type-policy-algorithm

* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-duplicate-names-without-enforcement-expected.txt:
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::allowTrustedTypesPolicy const):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to