Skip to content

Commit 0dbb92b

Browse files
authored
Merge pull request WICG#46 from domenic/patch-1
Use "queue a global task" instead of "queue a task"
2 parents 8de4b46 + 293edb6 commit 0dbb92b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

floc.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ spec:webidl; type:dfn; text:resolve
8282
- The <a href="#cohort-assignment-algorithm">cohort assignment algorithm</a> is unavailable.
8383

8484
then:
85-
1. [=Queue a task=] on the <dfn>interest cohort task source</dfn> to [=reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}.
85+
1. [=Queue a global task=] on the <dfn>interest cohort task source</dfn> given [=this=]'s [=relevant global object=] to [=reject=] |p| with a "{{NotAllowedError}}" {{DOMException}}.
8686
1. Abort these steps.
8787
1. Let |id| be [=interest cohort id=] from running the <a href="#cohort-assignment-algorithm">cohort assignment algorithm</a>.
8888
1. Let |version| be the [=interest cohort version=] corresponding to the <a href="#cohort-assignment-algorithm">cohort assignment algorithm</a>.
89-
1. [=Queue a task=] on the [=interest cohort task source=] to perform the following steps:
89+
1. [=Queue a global task=] on the [=interest cohort task source=] given [=this=]'s [=relevant global object=] to perform the following steps:
9090
1. Let |d| be the {{InterestCohort}} dictionary, with {{InterestCohort/id}} being the <a href="#string-representation-of-the-interest-cohort-id">string representation</a> of |id|, and {{InterestCohort/version}} being <a href="#string-representation-of-the-interest-cohort-version">string representation</a> of |version|.
9191
1. [=Resolve=] |p| with |d|.
9292
1. Return |p|.

0 commit comments

Comments
 (0)