Page MenuHomePhabricator

Update or delete DI's cookie probe
Open, Needs TriagePublic

Description

Mozilla Firefox is currently logging this warning to the console when browsing DonationInterface forms

Cookie “wmf_test” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

We should update the code to correctly test for cookie enablement, so we don't erroneously show donors an error message and prevent form submission.