Related Website Sets
Related Website Sets (aka RWS)
Note that RWS was previously known as First-Party Sets (aka FPS), but has since been renamed.
Motivation
Borrowing from the Related Website Sets explainer: In defining this scope (of ‘first-party’ in privacy models), we must balance two goals: the scope should be small enough to meet the user's privacy expectations, yet large enough to provide the user's desired functionality on the site they are interacting with.
The below instructions are outdated; please see here for updated testing instructions.
Old instructions
These instructions describe how a web developer can perform end-to-end testing of their sites in Chromium, while forcing Chromium to treat those sites as members of a First-Party Set, without needing to publicly establish a First-Party Set in Chromium's distribution list.Note: these instructions will only work with a Chromium instance M89 or above.
- Navigate to chrome://flags/#use-first-party-set.
- Enable the First-Party Set flag. For the flag value, enter a comma-separated list of domains. (Note that all domains must be HTTPS.) E.g.:
https://fps-owner.example,https://fps-member1.example,https://fps-member2.example
. This flag can also be enabled by appending e.g.--use-first-party-set="https://fps-owner.example,https://fps-member1.example,https://fps-member2.example"
to Chromium's command-line. - [Optional]: Navigate to chrome://flags/#sameparty-cookies-considered-first-party, and enable the flag. This flag changes the behavior of the "block third-party cookies" setting, such that
SameParty
cookies are not blocked. (Available in Chromium M93 and later.) This flag can also be enabled by appending--sameparty-cookies-considered-first-party
to Chromium's command-line. - Restart Chromium by clicking the "Relaunch" button in the bottom-right corner, or by navigating to chrome://restart.
- Perform end-to-end testing of the domains that were used in step 2. These sites will now have access to their
SameParty
cookies in same-party contexts. - When ready to revert to "standard" behavior, navigate to chrome://flags, disable the flags that you enabled in previous steps, and restart Chromium.
Origin Trial
First-Party Sets will begin an origin trial in M89.
The goals of the origin trial are to:
- Test FPS functionality within a limited prototype, including the
SameParty
attribute - Build awareness/interest in the FPS feature.
- Receive set membership requests and determine if FPS policy needs to be adjusted in order to meet privacy norms.
- Determine if FPS functionality meets needs of common-owned, separate-domain entities (during or post-OT)
- Test FPS UI options for user visibility and usefulness
Origin Trial Policy
In order to apply a structured approach to examining user understanding of FPS relationships, the following policy constraints will apply to the First-Party Sets origin trial:
- First-Party Sets during OT will be limited to five registrable domains (plus any TLD variants of those five). This allows for viable testing of FPS functionality, and a small set size to initially gauge user understanding of the feature.
- An individual domain may only be included in a single Set.
- First-Party Sets during OT will only be available to common-owned, common-controlled domains. Common ownership and control has been proposed to aid in user understanding of FPS relationships.
- First-Party Set requests during OT will specify the location of the privacy policy or privacy policies of their proposed set members, and will list any differences in those policies.
Origin Trial Functionality
The FPS origin trial will be “cosmetic” in that it will not change data sharing capabilities for FPS member domains; therefore, UX treatments will not be required for initial OT. In addition, when the user has third-party cookie blocking enabled, Chrome's normal functionality will persist and cookies will not be shared in cross-domain contexts - even if the domains are part of the First-Party Set OT.
In parallel with the origin trial, we will be conducting user research to better understand user expectations with respect to First-Party Sets. It is expected that this will allow testing of browser user interface options to make First-Party Sets discoverable and transparent for users.
Joining the Origin Trial
If you are interested in participating in the origin trial for First-Party Sets and SameParty
, please follow the below instructions:
- Identify the members and owner of your organization's First-Party Set.
- Identify which of your site(s)'s cookies could benefit from having the
SameParty
attribute set. Modify your site(s) to begin setting theSameParty
attribute on the appropriate cookies. (Note that this attribute will be ignored by user agents that have not implemented theSameParty
attribute; plan accordingly, using the SameSite attribute to specify a fallback policy.) - Modify your site(s) to collect appropriate metrics, for you to determine whether the origin trial is a success. E.g., record the contexts in which the
SameParty
cookies get set and sent, and compare the metrics to what you had expected. - Modify each of your sites to serve <site>/.well-known/first-party-set. These files will be used at registration-time to verify opt-in on each site.
- <owner site>/.well-known/first-party-set should be a JSON file whose content is an object listing the owner and the members. E.g.,
{owner: "https://fps-owner.example", members: ["https://fps-member1.example", "https://fps-member2.example"]}
. - <member site>/.well-known/first-party-set should be a JSON file whose content is an object listing the owner. E.g.,
{owner: "https://fps-owner.example"}
. - This is similar to the .well-known machinery described in the First-Party Sets explainer, but does not include assertions or versioning.
- <owner site>/.well-known/first-party-set should be a JSON file whose content is an object listing the owner and the members. E.g.,
- Follow the standard origin trial signup process for the experiment here: https://developers.chrome.com/origintrials/#/trials/active.
- You only need to register a single domain - the "owner domain" of the set.
- We will use origin trial registrations for feedback and followup as needed (e.g. if performance issues or other unintended consequences arise during the experiment, we may end the experiment and notify participants). We will also use registrations to communicate what percentage of Chrome users will have the origin trial active; this will be important for interpreting your metrics.
- After signup, you will see origin trial tokens on the registration page, but they do not need to be deployed to your site. The tokens will have no effect on the enabling of the FPS functionality.
- In case you are already familiar with origin trials, we will not be using the standard origin-trial meta tag and Origin-Trial HTTP header.
- Submit your proposed set by creating a bug using this bug template.
- Bugs (and any resulting comments/questions) will be publicly visible once submitted.
- Note that for the origin trial, we are not using the Sec-First-Party-Set machinery. Creating the above bug and serving .well-known/first-party-set files are the only steps necessary for declaring your First-Party Set.
- After the above bug is marked "Fixed", monitor key metrics to ensure no unexpected breakage occurs on your site(s) during the duration of the trial.
If you have any questions, please reach out to chrome-first-party-sets@chromium.org.
Update History
- November 23, 2020: created First-Party Sets page on chromium.org
- January 5, 2021: expanded details about First-Party Sets and added origin trial information
- February 2, 2021: added information on end-to-end testing. Expanded signup-instructions for origin trial
- March 17, 2021: added instructions for serving .well-known/first-party-set file.
- December 1, 2022: added link to updated testing instructions.
- September 27, 2023: renamed First-Party Sets -> Related Website Sets.