browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Update Chromium versions for api.SVGAElement.referrerPolicy

Open queengooborg opened this issue 2 years ago • 2 comments

This PR updates and corrects the real values for Chromium (Chrome, Opera, Samsung Internet, WebView Android) for the referrerPolicy member of the SVGAElement API, based upon results from the mdn-bcd-collector project (v6.1.0).

Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/SVGAElement/referrerPolicy

Check out the collector's guide on how to review this PR.

This effectively reverts the SVGAElement changes of #2858.

queengooborg avatar Aug 17 '22 23:08 queengooborg

Hmm... It looks like the feature was originally set to "61", but was then set to "52" in https://github.com/mdn/browser-compat-data/pull/2858.

queengooborg avatar Sep 11 '22 22:09 queengooborg

I see, so https://github.com/mdn/browser-compat-data/pull/2858 incorrectly updated a bunch of data based on https://chromium.googlesource.com/chromium/src/+/a8e98a61a6144db6a2b45baaff9eeb8930f0296f which was only about the Fetch API.

npm run traverse -- -b chrome -f 52 | grep -i referrerpolicy now lists:

api.HTMLAnchorElement.referrerPolicy
api.HTMLAnchorElement.referrerPolicy (as referrerpolicy)
api.HTMLAreaElement.referrerPolicy
api.HTMLAreaElement.referrerPolicy (as referrerpolicy)
api.HTMLIFrameElement.referrerPolicy
api.HTMLIFrameElement.referrerPolicy (as referrerpolicy)
api.HTMLImageElement.referrerPolicy
api.HTMLImageElement.referrerPolicy (as referrerpolicy)
api.Request.referrerPolicy
api.fetch.init_referrerPolicy_parameter

Can you check/update all of api.HTML*Element.referrerPolicy to fix this?

foolip avatar Sep 12 '22 12:09 foolip

So apparently, the collector is reporting that "50" is correct for the other three APIs ("61" is still correct for SVGAElement). This is backed by Bugzilla bugs:

SVGAElement: https://bugzilla.mozilla.org/show_bug.cgi?id=1451823 Others: https://bugzilla.mozilla.org/show_bug.cgi?id=1187357

queengooborg avatar Jan 09 '23 08:01 queengooborg