LibWeb: Fix CSP navigation request blocking

Corresponds to 304782ca57
This commit is contained in:
Sam Atkins 2025-02-10 17:29:59 +00:00
parent a144481e6c
commit a01a3b18f5
Notes: github-actions[bot] 2025-02-12 17:28:01 +00:00
3 changed files with 9 additions and 7 deletions

View file

@ -3710,7 +3710,7 @@ HTML::SourceSnapshotParams Document::snapshot_source_snapshot_params() const
// fetch client
// sourceDocument's relevant settings object
// source policy container
// sourceDocument's policy container
// a clone of sourceDocument's policy container
return HTML::SourceSnapshotParams {
.has_transient_activation = as<HTML::Window>(HTML::relevant_global_object(*this)).has_transient_activation(),