Skip to content

Commit 54d4e09

Browse files
committed
Compat for hSA, add note about (site,site)
1 parent 2cf0288 commit 54d4e09

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
@@ -176,7 +176,8 @@ When invoked on {{Document}} |doc|, the <dfn export method for=Document><code>ha
176176
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|.
177177
1. Let |key| be the result of [=generate a partitioned storage key|generating a partitioned storage key=] from |doc|.
178178
1. If |key| is failure, [=resolve=] |p| with false and return |p|.
179-
1. [=Resolve=] |p| with the result of running [=determine if a site has storage access=] with |key| and |doc|.
179+
1. Let |hasAccess| be the result of running [=determine if a site has storage access=] with |key| and |doc|.
180+
1. [=Queue a global task=] on the [=permissions task source=] given |global| to [=/resolve=] |p| with |hasAccess|.
180181
1. Return |p|.
181182

182183
ISSUE: Shouldn't step 8 be [=same site=]?
@@ -291,6 +292,8 @@ The Storage Access API defines a [=powerful feature=] identified by the [=powerf
291292
<dt>[=powerful feature/permission key type=]</dt>
292293
<dd>
293294
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>.
295+
296+
ISSUE(privacycg/storage-access#147): Note that this will likely change to a (site, site) keying.
294297
</dd>
295298
<dt>[=powerful feature/permission key generation algorithm=]</dt>
296299
<dd>

0 commit comments

Comments
 (0)