Add support to sameSitePolicy handling.
sameSitePolicy property was added to NSHTTPCookie with iOS 13, consider it when switching between canonical cookies and system cookies. Initially use CookieOption with access semantic Strict, but eventually download_session_cookie should update the semantic based on the origin of the request. This CL accommodates the changes that happened recently on the canonical cookie . So in iOS 12 we don't miss cross site non-secure cookies. and on the same time starting from iOS 13 check on same-site policy value and follow chromium rules in sending cookies across requests. Bug: 1018272, 1006785 Change-Id: I77213f528a9f533998e783db897a80a990bea87d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890507Reviewed-by:Eugene But <eugenebut@chromium.org> Reviewed-by:
Maksim Orlovich <morlovich@chromium.org> Reviewed-by:
Lily Chen <chlily@chromium.org> Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Cr-Commit-Position: refs/heads/master@{#713216}
Showing
Please register or sign in to comment