Skip to content

Commit

Permalink
Add more keys to referrer-policy (#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Nov 13, 2024
1 parent edcd078 commit 988d6fc
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
36 changes: 36 additions & 0 deletions features/referrer-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,53 @@ status:
- http.headers.Referrer-Policy.default_strict-origin-when-cross-origin
compat_features:
- api.HTMLAnchorElement.referrerPolicy
- api.HTMLAnchorElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLAnchorElement.referrerPolicy.origin-when-cross-origin
- api.HTMLAnchorElement.referrerPolicy.unsafe-url
- api.HTMLAreaElement.referrerPolicy
- api.HTMLAreaElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLAreaElement.referrerPolicy.origin-when-cross-origin
- api.HTMLAreaElement.referrerPolicy.unsafe-url
- api.HTMLIFrameElement.referrerPolicy
- api.HTMLIFrameElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLIFrameElement.referrerPolicy.origin-when-cross-origin
- api.HTMLIFrameElement.referrerPolicy.unsafe-url
- api.HTMLImageElement.referrerPolicy
- api.HTMLImageElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLImageElement.referrerPolicy.origin-when-cross-origin
- api.HTMLImageElement.referrerPolicy.unsafe-url
- api.HTMLLinkElement.referrerPolicy
- api.HTMLLinkElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLLinkElement.referrerPolicy.origin-when-cross-origin
- api.HTMLLinkElement.referrerPolicy.unsafe-url
- api.HTMLScriptElement.referrerPolicy
- api.HTMLScriptElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLScriptElement.referrerPolicy.origin-when-cross-origin
- api.HTMLScriptElement.referrerPolicy.unsafe-url
- html.elements.a.referrerpolicy
- html.elements.a.referrerpolicy.no-referrer-when-downgrade
- html.elements.a.referrerpolicy.origin-when-cross-origin
- html.elements.a.referrerpolicy.unsafe-url
- html.elements.area.referrerpolicy
- html.elements.area.referrerpolicy.no-referrer-when-downgrade
- html.elements.area.referrerpolicy.origin-when-cross-origin
- html.elements.area.referrerpolicy.unsafe-url
- html.elements.iframe.referrerpolicy
- html.elements.iframe.referrerpolicy.no-referrer-when-downgrade
- html.elements.iframe.referrerpolicy.origin-when-cross-origin
- html.elements.iframe.referrerpolicy.unsafe-url
- html.elements.img.referrerpolicy
- html.elements.img.referrerpolicy.no-referrer-when-downgrade
- html.elements.img.referrerpolicy.origin-when-cross-origin
- html.elements.img.referrerpolicy.unsafe-url
- html.elements.link.referrerpolicy
- html.elements.link.referrerpolicy.no-referrer-when-downgrade
- html.elements.link.referrerpolicy.origin-when-cross-origin
- html.elements.link.referrerpolicy.unsafe-url
- html.elements.script.referrerpolicy
- html.elements.script.referrerpolicy.no-referrer-when-downgrade
- html.elements.script.referrerpolicy.origin-when-cross-origin
- html.elements.script.referrerpolicy.unsafe-url
- http.headers.Referrer-Policy
- http.headers.Referrer-Policy.default_strict-origin-when-cross-origin
- http.headers.Referrer-Policy.no-referrer-when-downgrade
Expand Down
80 changes: 80 additions & 0 deletions features/referrer-policy.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,77 @@ compat_features:
# safari_ios: "15"
- http.headers.Referrer-Policy.default_strict-origin-when-cross-origin

# baseline: false
# support:
# chrome: "52"
# chrome_android: "52"
# edge: "79"
# safari: "14"
# safari_ios: "14"
- api.HTMLAnchorElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLAnchorElement.referrerPolicy.origin-when-cross-origin
- api.HTMLAnchorElement.referrerPolicy.unsafe-url
- api.HTMLIFrameElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLIFrameElement.referrerPolicy.origin-when-cross-origin
- api.HTMLIFrameElement.referrerPolicy.unsafe-url
- api.HTMLImageElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLImageElement.referrerPolicy.origin-when-cross-origin
- api.HTMLImageElement.referrerPolicy.unsafe-url

# baseline: false
# support:
# chrome: "52"
# chrome_android: "52"
# edge: "79"
# safari: "14.1"
# safari_ios: "14.5"
- api.HTMLAreaElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLAreaElement.referrerPolicy.origin-when-cross-origin
- api.HTMLAreaElement.referrerPolicy.unsafe-url

# baseline: false
# support:
# chrome: "58"
# chrome_android: "58"
# edge: "79"
# safari: "14.1"
# safari_ios: "14.5"
- api.HTMLLinkElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLLinkElement.referrerPolicy.origin-when-cross-origin
- api.HTMLLinkElement.referrerPolicy.unsafe-url

# baseline: false
# support:
# chrome: "70"
# chrome_android: "70"
# edge: "79"
# safari: "14"
# safari_ios: "14"
- api.HTMLScriptElement.referrerPolicy.no-referrer-when-downgrade
- api.HTMLScriptElement.referrerPolicy.origin-when-cross-origin
- api.HTMLScriptElement.referrerPolicy.unsafe-url

# baseline: false
# support:
# chrome: "51"
# chrome_android: "51"
# edge: "79"
- html.elements.a.referrerpolicy.no-referrer-when-downgrade
- html.elements.a.referrerpolicy.origin-when-cross-origin
- html.elements.a.referrerpolicy.unsafe-url
- html.elements.area.referrerpolicy.no-referrer-when-downgrade
- html.elements.area.referrerpolicy.origin-when-cross-origin
- html.elements.area.referrerpolicy.unsafe-url
- html.elements.iframe.referrerpolicy.no-referrer-when-downgrade
- html.elements.iframe.referrerpolicy.origin-when-cross-origin
- html.elements.iframe.referrerpolicy.unsafe-url
- html.elements.img.referrerpolicy.no-referrer-when-downgrade
- html.elements.img.referrerpolicy.origin-when-cross-origin
- html.elements.img.referrerpolicy.unsafe-url
- html.elements.link.referrerpolicy.no-referrer-when-downgrade
- html.elements.link.referrerpolicy.origin-when-cross-origin
- html.elements.link.referrerpolicy.unsafe-url

# baseline: false
# support:
# chrome: "56"
Expand All @@ -148,3 +219,12 @@ compat_features:
- http.headers.Referrer-Policy.no-referrer-when-downgrade
- http.headers.Referrer-Policy.origin-when-cross-origin
- http.headers.Referrer-Policy.unsafe-url

# baseline: false
# support:
# chrome: "70"
# chrome_android: "70"
# edge: ≤79
- html.elements.script.referrerpolicy.no-referrer-when-downgrade
- html.elements.script.referrerpolicy.origin-when-cross-origin
- html.elements.script.referrerpolicy.unsafe-url

0 comments on commit 988d6fc

Please sign in to comment.