-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox and Safari now ignore "unsafe" referrer-policies #18232
Conversation
Hey there, thank you for your PR, and welcome to BCD! Apologies for the long delay in reviewing your PR, this one ended up getting buried in the other PRs we've had opened. Just a quick question: where did you get the "13" for Safari from? |
Can't remember for certain anymore but I'm pretty sure I just tried it on different versions in browserstack. Searching a bit more, it seems like caniuse actually also mentions it, citing https://webkit.org/blog/9661/preventing-tracking-prevention-tracking/ as the source which indicates 13.3 on iOS and 13.0.4 on Macs as the exact versions where it started getting ignored. I'll update the numbers. |
I trust CanIUse data, thanks for confirming! |
Updated the iOS version to 13.3, not sure whether it's desired to desired to use 13.0.4 for Desktop or whether that's unnecessarily precise, looks like caniuse also just lists it as "13" (and 13.3 for iOS). |
"13" is perfect (see https://github.com/mdn/browser-compat-data/blob/main/docs/data-guidelines/index.md#choosing-a-version-number for the full explanation) -- I'll take another look at your PR tomorrow! |
This reverts commit 14840cf.
Hm, I guess the linter didn't like 13.3 for iOS. It seems correct though, the guidelines you posted say it should be the iOS version and iOS 13.3 definitely existed. Should I add it as a possible version or just revert it to "13"? Also feel free to directly modify my PR. |
Let's go ahead and revert Safari iOS to "13"; although technically this is partially incorrect, I don't think many BCD consumers will worry about minor versions from browser releases over three years old. ;P |
True, done. (the commit date somehow got messed up so GitHub shows the commit further up ...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this got never merged ooops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you and sorry for the incredible long wait.
* Firefox and Safari now ignore "unsafe" referrer-policies * Add __compat key * Fix style * iOS Safari removed them in 13.3 Source: https://webkit.org/blog/9661/preventing-tracking-prevention-tracking/ * Revert "iOS Safari removed them in 13.3" This reverts commit 14840cf. * Apply suggestions from code review --------- Co-authored-by: Florian Scholz <fs@florianscholz.com>
Summary
Recent versions of Firefox and Safari ignore "unsafe" referer-policies like "unsafe-url".
Test results and supporting details
None