servo/components/script/dom/servoparser
Tim van der Lippe 18d1a62add
Inherit CSP for blob workers (#38033)
Workers created from Blobs inherit their CSP. Now we inherit the CSP and
set the correct base API url. The base API url should be used when
determining the
report-uri endpoint. Otherwise, the blob URL would be used as a base,
which is invalid and the report wouldn't be sent.

Also create a helper method to concatenate two optionals of CSPList,
which was used in several places.

Part of #4577

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
2025-07-17 08:14:20 +00:00
..
async_html.rs deps: Bump html5ever and friends to version 0.35.0 (#37736) 2025-07-02 08:44:39 +00:00
html.rs deps: Bump html5ever and friends to version 0.35.0 (#37736) 2025-07-02 08:44:39 +00:00
mod.rs Inherit CSP for blob workers (#38033) 2025-07-17 08:14:20 +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