Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
commitdb3ca28481a8c77f243d84db68a71026acdd60b1
authorMirko Brodesser <mbrodesser@igalia.com>
Wed, 17 Apr 2024 12:24:18 +0000 (17 12:24 +0000)
committerMirko Brodesser <mbrodesser@igalia.com>
Wed, 17 Apr 2024 12:24:18 +0000 (17 12:24 +0000)
tree171c7701999338ff35101e0a2bc910d7dc2cbdcf
parent2fcd7e5c5c8a5ead9c5ed20aced23ff15147c5b0
Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded behind the Trusted Types pref. r=tschuster,webidl,smaug

Differential Revision: https://phabricator.services.mozilla.com/D206998
dom/interfaces/security/nsIContentSecurityPolicy.idl
dom/locales/en-US/chrome/security/csp.properties
dom/security/nsCSPParser.cpp
dom/security/nsCSPParser.h
dom/security/nsCSPUtils.cpp
dom/security/nsCSPUtils.h
dom/webidl/CSPDictionaries.webidl