Add tentative WPTs for SameSiteByDefaultCookies #16779
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a virtual test suite for testing SameSiteByDefaultCookies,
which treats unspecified-SameSite cookies as if they were
SameSite=Lax (the current status quo is to treat them as if
they were SameSite=None).
This change basically copies the entire wpt/cookies/samesite
test suite into wpt/cookies/samesite-by-default. Tests in the
new directory have modified assertion expectations to match
the new behavior for unspecified-SameSite cookies, and are
marked "tentative".
Disable the regular samesite tests in the virtual test suite
with SameSiteByDefaultCookies enabled. Disable the
samesite-by-default tentative tests in the regular test suite.
Also fix one of the cookie prefix tests that fails with
SameSiteByDefaultCookies enabled, so that it passes whether or
not it is enabled.
Bug: 961439
Change-Id: Ib0cc49b8779726375adeecda9e1d3238cd7454ad
Reviewed-on: https://chromium-review.googlesource.com/1606080
WPT-Export-Revision: 66557b4a4ad35dba781e6274eaa60aa91eaffe0b