Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aadd704e6d7a3743c5610e1225759d5ece3fc094
https://github.com/WebKit/WebKit/commit/aadd704e6d7a3743c5610e1225759d5ece3fc094
Author: Luke Warlow <[email protected]>
Date: 2025-10-01 (Wed, 01 Oct 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/trusted-types/should-sink-type-mismatch-violation-be-blocked-by-csp-001-expected.txt
M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Log Message:
-----------
Only one enforced CSP violation is reported for 'require-trusted-types-for'
https://bugs.webkit.org/show_bug.cgi?id=299889
Reviewed by Anne van Kesteren.
Currently, only one CSP violation report is fired no matter how many enforced
CSP policies require trusted types.
This is fixed by ensuring we don't early return when processing CSP policies
for this directive.
*
LayoutTests/imported/w3c/web-platform-tests/trusted-types/should-sink-type-mismatch-violation-be-blocked-by-csp-001-expected.txt:
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::allowMissingTrustedTypesForSinkGroup const):
Canonical link: https://commits.webkit.org/300832@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