From 9f69a33487007765d60470f271fcbb6636d2330d Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Mon, 21 Mar 2022 09:50:41 +0100 Subject: [PATCH] Anonymous iframe (WIP) Explainer & specs (WIP) https://arthursonzogni.github.io/anonymous-iframe/#explainer Summary: - Add `partition-nonce` to network-partition-key. The value is filled from the HTML specification. Anonymous iframe require updating several specifications: - HTML => https://github.com/whatwg/html/pull/7695 - Fetch => (this) - CHIPS (cookie-having-independent-partition-state) => XXX - Storage-partitioning => XXX --- fetch.bs | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/fetch.bs b/fetch.bs index 290b3e807..5a21fd337 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2652,8 +2652,12 @@ details of reused connections are not exposed and time values are coarsened.

Network partition keys

-

A network partition key is a tuple consisting of a site and null or -an implementation-defined value. +

A network partition key is a tuple consisting of:

+

To determine the network partition key, @@ -2671,13 +2675,14 @@ given an environment environment, run these steps:

  • Let topLevelSite be the result of obtaining a site, given topLevelOrigin. -

  • -

    Let secondKey be null or an implementation-defined value. +

  • Let secondKey be null or an implementation-defined value. + +

    The second key is intentionally a little vague as the finer points are still + evolving. See issue #1035. -

    The second key is intentionally a little vague as the finer points are still - evolving. See issue #1035. +

  • Let nonce be environment's partition-nonce

    -
  • Return (topLevelSite, secondKey). +

  • Return (topLevelSite, secondKey, nonce).

    To