Skip to content

Commit

Permalink
define interaction with clear-site-data
Browse files Browse the repository at this point in the history
  • Loading branch information
cbiesinger committed Aug 11, 2023
1 parent 9557220 commit 0c154cb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ and "<dfn><code>signed-out</code></dfn>"

The user agent checks all page and subresource loads for an HTTP response
[=header=] named <dfn><code>IdP-SignIn-Status</code></dfn>, whose value is
parsed as HTTP [[RFC9110#parameter|Parameter]]s.
parsed as HTTP [[RFC9110#section-5.6.6|Parameter]]s.
If that header exists and the first parameter has a name of `action`,
the user agent must process it as follows:

Expand Down Expand Up @@ -383,6 +383,13 @@ Map=] with the [=map/key=] being [=/this=]'s [=/relevant settings object=]'s
[=environment settings object/origin=] and the value being [=signed-in=] (for
`recordSignIn`) or [=signed-out=] (for `recordSignOut`).

### Interaction with `Clear-Site-Data`

When the user agent receives a <a http-header>Clear-Site-Data</a> header with a
value of `"cookies"`, while [$clear cookies for origin|clearing cookies for
origin$] it must remove any entries in the [=IDP Sign-in Status Map=] where the
[=map/key=] is the input origin.

<!-- ============================================================ -->
## The connected accounts set ## {#browser-connected-accounts-set}
<!-- ============================================================ -->
Expand Down

0 comments on commit 0c154cb

Please sign in to comment.