aboutsummaryrefslogtreecommitdiffstats
path: root/components/rand
diff options
context:
space:
mode:
authorelomscansio <163124154+elomscansio@users.noreply.github.com>2025-04-20 02:46:09 +0100
committerGitHub <noreply@github.com>2025-04-20 01:46:09 +0000
commitd05496277e7db1777783a542a8ca768d05955ee5 (patch)
tree47428f1d91d895a4828cc37a9f29e1de5adce2cd /components/rand
parentfad5447838b65288b942b90cd3a018e88889b889 (diff)
downloadservo-d05496277e7db1777783a542a8ca768d05955ee5.tar.gz
servo-d05496277e7db1777783a542a8ca768d05955ee5.zip
htmlvideoelement: Include security settings in poster image request (#36605)
This PR addresses [#36593](https://github.com/servo/servo/issues/36593), where the poster image request for `<video>` elements lacked several settings introduced in `RequestBuilder`. These settings — `insecure_requests_policy`, `has_trustworthy_ancestor_origin`, and `policy_container` — are now forwarded from the document, aligning poster requests with other fetches using the correct policy container and trust assessment. This ensures that poster images are requested under the same security assumptions as other media or resource loads. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #36593 <!-- Either: --> - [X] There are tests for these changes Signed-off-by: Emmanuel Elom <elomemmanuel007@gmail.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/rand')
0 files changed, 0 insertions, 0 deletions