Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
commit9181aa119b55b4f8e81790465570230a391b5011
authorMirko Brodesser <mbrodesser@igalia.com>
Wed, 17 Apr 2024 09:39:54 +0000 (17 09:39 +0000)
committerMirko Brodesser <mbrodesser@igalia.com>
Wed, 17 Apr 2024 09:39:54 +0000 (17 09:39 +0000)
tree19e4d5f011e28429d0a148f85109ff7a4567d847
parentd981e92ac4460fe71e263aef7d1509136fcdb631
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