Commit b608449a authored by Maks Orlovich's avatar Maks Orlovich Committed by Commit Bot

Fuchsia CookieManagerImplTest: adjust for upcoming cookie changes.

We will be requiring cookies marked to permit access in 3rd-party contexts
to be secure; and this test was creating an insecure one, so change it.

Bug: 1016512
Change-Id: I4205508d7ff145f7d81fe36fcfa5854963462de7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879192
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: default avatarWez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709308}
parent 922121e2
...@@ -39,7 +39,7 @@ std::unique_ptr<net::CanonicalCookie> CreateCookie(base::StringPiece name, ...@@ -39,7 +39,7 @@ std::unique_ptr<net::CanonicalCookie> CreateCookie(base::StringPiece name,
GURL(kTestCookieUrl), name.as_string(), value.as_string(), /*domain=*/"", GURL(kTestCookieUrl), name.as_string(), value.as_string(), /*domain=*/"",
/*path=*/"", /*creation_time=*/base::Time(), /*path=*/"", /*creation_time=*/base::Time(),
/*expiration_time=*/base::Time(), /*last_access_time=*/base::Time(), /*expiration_time=*/base::Time(), /*last_access_time=*/base::Time(),
/*secure=*/false, /*secure=*/true,
/*httponly*/ false, net::CookieSameSite::NO_RESTRICTION, /*httponly*/ false, net::CookieSameSite::NO_RESTRICTION,
net::COOKIE_PRIORITY_MEDIUM); net::COOKIE_PRIORITY_MEDIUM);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment