Skip to content

Commit a5134b4

Browse files
author
Kyra Seevers
committed
Fixing cross-site ancestry references
1 parent 18f3bb4 commit a5134b4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

storage.bs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
210210
<p>A <dfn export>storage key</dfn> is a <a>tuple</a> consisting of an
211211
<dfn for="storage key">origin</dfn> (an <a for=/>origin</a>), a
212212
<dfn for="storage key">top-level site</dfn> (a <a for=/>site</a>), and a
213-
<dfn for="storage key">cross site ancestry</dfn>
214-
(a <a for=environment>cross site ancestry</a>). [[!HTML]]
213+
<dfn for="storage key">cross-site ancestry</dfn> (a boolean). [[!HTML]]
215214

216215
<div algorithm>
217216
<p>To <dfn export>obtain a storage key</dfn>, given an <a for=/>environment</a>
@@ -249,7 +248,7 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
249248
<var>topLevelOrigin</var>.
250249

251250
<li><p>Let <var>crossSiteAncestry</var> be <var>environment</var>'s
252-
<a for=environment>cross site ancestry</a>.
251+
<a for=environment>cross-site ancestry</a>.
253252

254253
<li><p>Return (<var>origin</var>, <var>topLevelSite</var>, <var>crossSiteAncestry</var>).
255254
</ol>
@@ -266,8 +265,8 @@ anticipated that some APIs will be applicable to both <a>storage types</a> going
266265
<li><p>If <var>A</var>'s <a for="storage key">top-level site</a> is not <a>same site</a>
267266
with <var>B</var>'s <a for="storage key">top-level site</a>, then return false.
268267

269-
<li><p>If <var>A</var>'s <a for="storage key">cross site ancestry</a> is not equal to
270-
<var>B</var>'s <a for="storage key">cross site ancestry</a>, then return false.
268+
<li><p>If <var>A</var>'s <a for="storage key">cross-site ancestry</a> is not equal to
269+
<var>B</var>'s <a for="storage key">cross-site ancestry</a>, then return false.
271270

272271
<li><p>Return true.
273272
</ol>

0 commit comments

Comments
 (0)