mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update FetchTaskTarget to propagate CSP violations. (#36409)
It also updates the FetchResponseListener to process CSP violations to ensure that iframe elements (amongst others) properly generate the CSP events. These iframe elements are used in the Trusted Types tests themselves and weren't propagating the violations before. However, the tests themselves are still not passing since they also use Websockets, which currently aren't using the fetch machinery itself. That is fixed as part of [1]. [1]: https://github.com/servo/servo/issues/35028 --------- Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
5d84acc06e
commit
85e4a2b5c7
146 changed files with 511 additions and 612 deletions
|
@ -41,7 +41,7 @@ chrono = { version = "0.4", features = ["serde"] }
|
|||
cipher = { version = "0.4.4", features = ["alloc"] }
|
||||
compositing_traits = { path = "components/shared/compositing" }
|
||||
constellation_traits = { path = "components/shared/constellation" }
|
||||
content-security-policy = { version = "0.5", features = ["serde"] }
|
||||
content-security-policy = { git = "https://github.com/servo/rust-content-security-policy/", branch = "servo-csp", features = ["serde"] }
|
||||
cookie = { package = "cookie", version = "0.18" }
|
||||
crossbeam-channel = "0.5"
|
||||
cssparser = { version = "0.35", features = ["serde"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue