mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
script: Initialize all requests with clients (#41584)
In preparation for adding preload support for all requests, we need to add relevant client information to all these entrypoints. Additionally, for links we now also set the referrer correctly and initialize documents. All of which are required to start loading preload information when processing requests. Part of #35035 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
committed by
GitHub
parent
c394c6e65f
commit
0de7b23a7b
@@ -1433,6 +1433,7 @@ impl HTMLMediaElement {
|
||||
document.insecure_requests_policy(),
|
||||
document.has_trustworthy_ancestor_or_current_origin(),
|
||||
global.policy_container(),
|
||||
global.request_client(),
|
||||
)
|
||||
.headers(headers)
|
||||
.origin(document.origin().immutable().clone())
|
||||
|
||||
Reference in New Issue
Block a user