Skip to content

Commit 2411f8d

Browse files
committed
Compat for hSA, add note about (site,site)
1 parent 499f244 commit 2411f8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

storage-access.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ When invoked on {{Document}} |doc|, the <dfn export method for=Document><code>ha
183183
1. If |doc|'s [=Document/origin=] is [=same origin=] with the [=top-level origin=] of |doc|'s [=relevant settings object=], [=/resolve=] |p| with true and return |p|.
184184
1. Let |key| be the result of [=generate a partitioned storage key|generating a partitioned storage key=] from |doc|.
185185
1. If |key| is failure, [=resolve=] |p| with false and return |p|.
186-
1. [=Resolve=] |p| with the result of running [=determine if a site has storage access=] with |key| and |doc|.
186+
1. Let |hasAccess| be the result of running [=determine if a site has storage access=] with |key| and |doc|.
187+
1. [=Queue a global task=] on the [=permissions task source=] given |global| to [=/resolve=] |p| with |hasAccess|.
187188
1. Return |p|.
188189

189190
ISSUE: Shouldn't step 8 be [=same site=]?
@@ -304,6 +305,8 @@ The Storage Access API defines a [=powerful feature=] identified by the [=powerf
304305
<dt>[=powerful feature/permission key type=]</dt>
305306
<dd>
306307
A [=permission key=] of the "<a permission><code>storage-access</code></a>" feature is a [=tuple=] consisting of a [=site=] <dfn for="permission key">key site</dfn> and an [=/origin=] <dfn for="permission key">key origin</dfn>.
308+
309+
ISSUE(privacycg/storage-access#147): Note that this will likely change to a (site, site) keying.
307310
</dd>
308311
<dt>[=powerful feature/permission key generation algorithm=]</dt>
309312
<dd>

0 commit comments

Comments
 (0)