Skip to content

Commit d3d450f

Browse files
Anonymous iframe
Explainer & specs (WIP) https://arthursonzogni.github.io/anonymous-iframe/ This patch adds the `environment`'s `partition-nonce` to the `storage-key`. from the HTML specification. Anonymous iframe require updating several specifications: - HTML => whatwg/html#7695 - Fetch => whatwg/fetch#1416 - Storage => (this) - CHIPS/Cookies => XXX
1 parent afbf6bd commit d3d450f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

storage.bs

+9-3
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,11 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
198198

199199
<h3 id=storage-keys>Storage keys</h3>
200200

201-
<p>A <dfn>storage key</dfn> is a <a>tuple</a> consisting of an <dfn for="storage key">origin</dfn>
202-
(an <a for=/>origin</a>). [[!HTML]]
201+
<p>A <dfn>storage key</dfn> is a <a>tuple</a> consisting of:
202+
<ul>
203+
<li><p>An <dfn for="storage key">origin</dfn> (an <a for=/>origin</a>). [[!HTML]]</p>
204+
<li><p>A <dfn for="storage key">nonce</dfn> (an identifier or null). [[!HTML]]
205+
</ul>
203206

204207
<p class=XXX>This is expected to change; see
205208
<a href="https://privacycg.github.io/storage-partitioning/">Client-Side Storage Partitioning</a>.
@@ -228,7 +231,10 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
228231
<a>environment settings object</a>; otherwise <var>environment</var>'s
229232
<a for=environment>creation URL</a>'s <a for=url>origin</a>.
230233

231-
<li><p>Return a <a>tuple</a> consisting of <var>origin</var>.
234+
<li><p>Let <var>nonce</var> be <var>environment</var>'s <a for="environment settings
235+
object">partition nonce</a>.
236+
237+
<li><p>Return a <a>tuple</a> consisting of <var>origin</var> and <var>nonce</var>.
232238
</ol>
233239

234240
<p>To determine whether a <a>storage key</a> <var>A</var>

0 commit comments

Comments
 (0)