Modularize security_manager by moving report logic (#37347)

Move all report structs into the same file, to
keep them consistent and reuse functions such as stripping
of the URL and serialization of disposition. This is part
of modularizing security_manager, which contained various
logic related to CSP.

Part of #4577

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-06-15 16:10:19 +02:00 committed by GitHub
parent f09042340c
commit dfbd5b7d21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 244 additions and 230 deletions

View file

@ -263,6 +263,7 @@ pub(crate) mod countqueuingstrategy;
mod create;
pub(crate) mod crypto;
pub(crate) mod cryptokey;
pub(crate) mod csppolicyviolationreport;
pub(crate) mod css;
pub(crate) mod cssconditionrule;
pub(crate) mod cssfontfacerule;