зеркало из https://github.com/mozilla/gecko-dev.git
57b9951a5d
In order to do this, I had to alter how we do third-party cookie blocking under CHIPS + TCP. Before we performed the block in CheckPrefs, where we haven't parsed the cookie header (which can have multiple cookie lines) yet. Instead, I added a new argument into CanSetCookie, which says if the cookie needs to be partitioned to be accepted (TCP && foreign && not unpartitioned). Then inside of CanSetCookie, if that is set we warn in the console and drop the cookie if the CHIPS preference is set. The warning changes based on that pref too. Differential Revision: https://phabricator.services.mozilla.com/D197711 |
||
---|---|---|
.. | ||
browser | ||
gtest | ||
xpcshell |