Update some browsing_data tests to work with SameSite-by-default cookies
This change updates some tests in //content/browser/browsing_data and //chrome/browser/browsing_data to work with SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure. In particular, since by default cookies will be treated as SameSite=Lax, setting cookies requires a CookieOptions object with an appropriate SameSite context. Also, cookies with SameSite=None (NO_RESTRICTION) must also be Secure. Bug: 1006816 Change-Id: I9fbc55bebe2455478392a21eb63994ba53467273 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1830286Reviewed-by:Christian Dullweber <dullweber@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#701525}
Showing
Please register or sign in to comment