mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb/ReferrerPolicy: Add spec link for strip URL AO
This commit is contained in:
parent
8542a8b458
commit
5a40a00d9e
Notes:
sideshowbarker
2024-07-17 02:28:18 +09:00
Author: https://github.com/jamierocks
Commit: 5a40a00d9e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/23
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ Optional<URL::URL> determine_requests_referrer(Fetch::Infrastructure::Request co
|
|||
}
|
||||
}
|
||||
|
||||
// https://w3c.github.io/webappsec-referrer-policy/#strip-url
|
||||
Optional<URL::URL> strip_url_for_use_as_referrer(Optional<URL::URL> url, OriginOnly origin_only)
|
||||
{
|
||||
// 1. If url is null, return no referrer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue