Use CookieOptions::MakeAllInclusive in ExtensionServiceTest
This change swaps a default net::CookieOptions to an all-inclusive CookieOptions, which allows the test to set and get all cookies. Previously, using the default CookieOptions, SameSite cookies could not be set. This would be a problem when cookies become SameSite-by-default (see https://www.chromestatus.com/feature/5088147346030592), because the test would no longer be able to set and get the cookies it expects. This change will allow the test to keep working when cookies are SameSite-by-default. Bug: 1016512 Change-Id: I8915aea124b3f3debb2f84bc58f950175875ee52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875521Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#709168}
Showing
Please register or sign in to comment