You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text: current browsing context; url: dfn-current-browsing-context
@@ -206,7 +206,7 @@ When invoked on {{Document}} |doc|, the <dfn export method for=Document><code>re
206
206
1. Otherwise, run these steps [=in parallel=]:
207
207
1. Let |hasAccess| be [=a new promise=].
208
208
1. [=Determine the storage access policy=] with |key|, |doc| and |hasAccess|.
209
-
1. [=Queue a global task=] on the [=permission task source=] given |global| to
209
+
1. [=Queue a global task=] on the [=permissions task source=] given |global| to
210
210
1. Set |flag set|'s [=has storage access flag=].
211
211
1. Resolve or reject |p| based on the result of |hasAccess|.
212
212
1. Return |p|.
@@ -230,13 +230,13 @@ To <dfn type="abstract-op">determine the storage access policy</dfn> for [=parti
230
230
1. Let |flag set| be the result of [=obtain a storage access flag set|obtaining the storage access flag set=] with |key| from |map|.
231
231
1. Let |implicitly granted| and |implicitly denied| (each a [=boolean=]) be the result of running an [=implementation-defined=] set of steps to determine if |key|'s [=partitioned storage key/embedded origin=]'s request for storage access on |key|'s [=partitioned storage key/top-level site=] should be granted or denied without prompting the user.
232
232
1. Let |global| be |doc|'s [=relevant global object=].
233
-
1. If |implicitly granted| is true, [=queue a global task=] on the [=permission task source=] given |global| to [=/resolve=] |p|, and return.
234
-
1. If |implicitly denied| is true, [=queue a global task=] on the [=permission task source=] given |global| to [=/reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}, and return |p|.
233
+
1. If |implicitly granted| is true, [=queue a global task=] on the [=permissions task source=] given |global| to [=/resolve=] |p|, and return.
234
+
1. If |implicitly denied| is true, [=queue a global task=] on the [=permissions task source=] given |global| to [=/reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}, and return |p|.
235
235
1. Let |permissionState| be the result of [=requesting permission to use=] "<a permission><code>storage-access</code></a>".
236
-
1. If |permissionState| is "granted", [=queue a global task=] on the [=permission task source=] given |global| to [=/resolve=] |p|, and return.
236
+
1. If |permissionState| is "granted", [=queue a global task=] on the [=permissions task source=] given |global| to [=/resolve=] |p|, and return.
1. If |doc|'s {{Window}} object has [=transient activation=], [=consume user activation=] with it.
239
-
1. [=Queue a global task=] on the [=permission task source=] given |global| to [=/reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}.
239
+
1. [=Queue a global task=] on the [=permissions task source=] given |global| to [=/reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}.
240
240
241
241
<h3 id="navigation">Changes to navigation</h3>
242
242
@@ -285,21 +285,21 @@ The Storage Access API defines a [=powerful feature=] identified by the [=powerf
285
285
286
286
Note: The "denied" permission state is not revealed to avoid exposing the user's decision to developers. This is done to prevent retaliation against the user and repeated prompting to the detriment of the user experience.
287
287
</dd>
288
-
<dt>[=powerful feature/permission key type]</dt>
288
+
<dt>[=powerful feature/permission key type=]</dt>
289
289
<dd>
290
-
A [=permission key] of the "<a permission><code>storage-access</code></a>" feature has the type ([=site=], [=/origin=]).
290
+
A [=permission key=] of the "<a permission><code>storage-access</code></a>" feature has the type ([=site=], [=/origin=]).
To generate a new [=permission key] for the "<a permission><code>storage-access</code></a>" feature, given an [=environment settings object=] |settings|, run the following steps:
294
+
To generate a new [=permission key=] for the "<a permission><code>storage-access</code></a>" feature, given an [=environment settings object=] |settings|, run the following steps:
295
295
296
296
1. Let |topLevelSite| be |settings|' [=top-level site=].
297
297
1. Let |embeddedOrigin| be |settings|' [=environment settings object/origin=].
0 commit comments