Skip to content

Commit bd73be0

Browse files
authored
Update link to ancestry PR (closes #215) (#216)
1 parent 8b80aa2 commit bd73be0

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
@@ -63,7 +63,7 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/
6363
text: create navigation params by fetching; url: browsing-the-web.html#create-navigation-params-by-fetching
6464
text: set up a window environment settings object; url: nav-history-apis.html#set-up-a-window-environment-settings-object
6565
text: environment
66-
<!-- TODO: pending HTML changes- ancestor enum (https://github.com/whatwg/html/pull/10559) -->
66+
<!-- TODO: pending HTML changes- ancestor enum (https://github.com/whatwg/html/pull/11133) -->
6767
text: ancestry; for: environment; url: TODO
6868

6969
spec: fetch; urlPrefix: https://fetch.spec.whatwg.org/
@@ -192,6 +192,9 @@ To <dfn>determine the initial storage-access eligibility</dfn>, given a [=reques
192192

193193
1. If |request|'s [=request/client=] is null, return "<code>[=storage access eligibility/unset=]</code>".
194194
1. If |request|'s [=request/client=]'s [=environment/ancestry=] is not "<code>cross-site</code>", return "<code>[=storage access eligibility/unset=]</code>"
195+
196+
ISSUE: The concept of "ancestry" is being added to HTML in <a href="https://github.com/whatwg/html/pull/11133">https://github.com/whatwg/html/pull/11133</a>
197+
195198
1. If |request|'s [=request/client=]'s [=environment/has storage access=] is false, return "<code>[=storage access eligibility/ineligible=]</code>".
196199
1. If |request|'s [=url/origin=] is not [=/same site=] with |request|'s [=request/url=]'s [=url/origin=], return "<code>[=storage access eligibility/ineligible=]</code>".
197200
1. Let |allowed| be the result of running [$Should request be allowed to use feature?$] given "<a permission><code>storage-access</code></a>" and |request|.

0 commit comments

Comments
 (0)