mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
LibWeb: Implement "Set request’s referrer policy on redirect" AO
This commit is contained in:
parent
5a40a00d9e
commit
ab6b687d4c
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/jamierocks
Commit: ab6b687d4c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/23
3 changed files with 40 additions and 1 deletions
|
@ -1236,7 +1236,8 @@ WebIDL::ExceptionOr<JS::GCPtr<PendingResponse>> http_redirect_fetch(JS::Realm& r
|
|||
// 18. Append locationURL to request’s URL list.
|
||||
request->url_list().append(location_url);
|
||||
|
||||
// FIXME: 19. Invoke set request’s referrer policy on redirect on request and internalResponse.
|
||||
// 19. Invoke set request’s referrer policy on redirect on request and internalResponse.
|
||||
ReferrerPolicy::set_request_referrer_policy_on_redirect(request, internal_response);
|
||||
|
||||
// 20. Let recursive be true.
|
||||
auto recursive = Recursive::Yes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue