Files
tubestation/ipc
Frédéric Wang 5f2238c730 Bug 1942306 - Make ShouldTrustedTypePolicyCreationBeBlockedByCSP work for Workers. r=tschuster
This is done by exposing on CSPInfo the raw array of tt-expressions
associated to a CSPInfo::ContentSecurityPolicy [1]. Then we use a static
version of nsCSPDirective::ShouldCreateViolationForNewTrustedTypesPolicy
that relies on this raw array instead of an actual nsCSPDirective.

[1] https://w3c.github.io/trusted-types/dist/spec/#tt-expression

Differential Revision: https://phabricator.services.mozilla.com/D242894
2025-03-27 09:10:43 +00:00
..