servo/components/script/dom/servoparser
Tim van der Lippe fc20d8b2e1
Move CSP code into one entrypoint (#37604)
This refactoring moves various CSP-related methods away from GlobalScope
and Document into a dedicated entrypoint. It also reduces the amount of
imports of the CSP crate, so that types are consolidated into this one
entrypoint. That way, we control how CSP code interacts with the script
crate.

For reviewing purposes, I split up the refactoring into separate
distinct commits that all move 1 method(group) into the new file.

Testing: no change in behavior, only a build improvement + code cleanup

---------

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Signed-off-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>
2025-06-24 08:50:30 +00:00
..
async_html.rs Use version of markup5ever with web_atoms crate (#36542) 2025-04-19 11:49:37 +00:00
html.rs script: Serialize a custom element's "is" value as an attribute (#36888) 2025-05-07 10:29:14 +00:00
mod.rs Move CSP code into one entrypoint (#37604) 2025-06-24 08:50:30 +00:00
prefetch.rs Move CSP code into one entrypoint (#37604) 2025-06-24 08:50:30 +00:00
xml.rs Unify the way html5ever and xml5ever block on script elements (#36284) 2025-04-08 16:40:14 +00:00