Skip to content

Conversation

@amaliev
Copy link
Contributor

@amaliev amaliev commented Dec 28, 2023

Add cases to the existing WPT for third-party cookies which perform the following flow:

  • Open a popup from the not-same-origin to the same-origin.
  • Require a manual interaction with a button.
  • Open a new not-same-origin window and verify that 3P cookies are no longer blocked.

Verified this test passes on chrome-dev. Also adding the --test-third-party-cookie-phaseout flag to WPT startup; the existing tests were failing without it because 3P cookies were not being blocked.

Explainer: https://github.com/amaliev/3pcd-exemption-heuristics/blob/main/explainer.md
Spec (draft): whatwg/compat#253

CC @johannhof @wanderview

@wpt-pr-bot wpt-pr-bot added cookies infra wptrunner The automated test runner, commonly called through ./wpt run labels Dec 28, 2023
@amaliev amaliev marked this pull request as draft December 28, 2023 03:13
@amaliev amaliev closed this Jan 3, 2024
@amaliev
Copy link
Contributor Author

amaliev commented Jan 3, 2024

Will commit this new WPT in chromium first, then auto-merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cookies infra wptrunner The automated test runner, commonly called through ./wpt run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants