Skip to content

Commit 9f69a33

Browse files
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 => whatwg/html#7695 - Fetch => (this) - CHIPS (cookie-having-independent-partition-state) => XXX - Storage-partitioning => XXX
1 parent 92b3578 commit 9f69a33

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

fetch.bs

+12-7
Original file line numberDiff line numberDiff line change
@@ -2652,8 +2652,12 @@ details of reused connections are not exposed and time values are coarsened.
26522652

26532653
<h3 id=network-partition-keys>Network partition keys</h3>
26542654

2655-
<p>A <dfn>network partition key</dfn> is a tuple consisting of a <a for=/>site</a> and null or
2656-
an <a>implementation-defined</a> value.
2655+
<p>A <dfn>network partition key</dfn> is a tuple consisting of:</p>
2656+
<ul class="brief">
2657+
<li><p>a <a for=/>site</a>.</p>
2658+
<li><p>null or an <a>implementation-defined</a> value.</p>
2659+
<li><p>null or a nonce.</p>
2660+
</ul>
26572661

26582662
<p>To
26592663
<dfn export lt="determine the network partition key|determining the network partition key">determine the network partition key</dfn>,
@@ -2671,13 +2675,14 @@ given an <a for=/>environment</a> <var>environment</var>, run these steps:
26712675
<li><p>Let <var>topLevelSite</var> be the result of <a lt="obtain a site">obtaining a site</a>,
26722676
given <var>topLevelOrigin</var>.
26732677

2674-
<li>
2675-
<p>Let <var>secondKey</var> be null or an <a>implementation-defined</a> value.
2678+
<li><p>Let <var>secondKey</var> be null or an <a>implementation-defined</a> value.
2679+
2680+
<p class=XXX>The second key is intentionally a little vague as the finer points are still
2681+
evolving. See <a href=https://github.com/whatwg/fetch/issues/1035>issue #1035</a>.
26762682

2677-
<p class=XXX>The second key is intentionally a little vague as the finer points are still
2678-
evolving. See <a href=https://github.com/whatwg/fetch/issues/1035>issue #1035</a>.
2683+
<li><p>Let <var>nonce</var> be <var>environment</var>'s <a for="environment">partition-nonce</a></p>
26792684

2680-
<li><p>Return (<var>topLevelSite</var>, <var>secondKey</var>).
2685+
<li><p>Return (<var>topLevelSite</var>, <var>secondKey</var>, <var>nonce</var>).
26812686
</ol>
26822687

26832688
<p>To

0 commit comments

Comments
 (0)