@@ -17,8 +17,8 @@ used for tasks that are blocking the user's ability to interact with the page, s
17
17
core experience or responding to user input.
18
18
19
19
<dfn enum-value for =TaskPriority >user-visible</dfn > is the second highest priority, and is meant to
20
- be used for tasks that visible to the user but not necessarily blocking user actions, such as
21
- rendering secondary parts of the page. This is the default priority.
20
+ be used for tasks that are observable to the user but not necessarily blocking user actions, such as
21
+ updating secondary parts of the page. This is the default priority.
22
22
23
23
<dfn enum-value for =TaskPriority >background</dfn > is the lowest priority, and is meant to be used
24
24
for tasks that are not time-critical, such as background log processing or initializing certain
@@ -110,7 +110,7 @@ Note: We implement *dynamic prioritization* by enqueuing tasks associated with a
110
110
response to ` prioritychange ` events. The [ =Scheduler/dynamic priority task queue map=] holds the
111
111
[ =scheduler task queues=] whose priorities can change, and the map key is the {{TaskSignal}} which
112
112
all tasks in the queue are associated with.
113
- <br /></ br >
113
+ <br /><br / >
114
114
The values of the [ =Scheduler/static priority task queue map=] are [ =scheduler task queues=] whose
115
115
priorities do not change. Tasks with * static priorities* &mdash ; those that were scheduled with an
116
116
explicit {{SchedulerPostTaskOptions/priority}} option or a {{SchedulerPostTaskOptions/signal}}
@@ -148,7 +148,7 @@ A <dfn>scheduler task</dfn> is a [=/task=] with an additional numeric
148
148
The following [ =task sources=] are defined as <dfn >scheduler task sources</dfn >,
149
149
and must only be used for [ =scheduler tasks=] .
150
150
151
- : <dfn >The posted task task source</dfn >
151
+ : The <dfn >posted task task source</dfn >
152
152
:: This [ =task source=] is used for tasks scheduled through {{Scheduler/postTask()}}.
153
153
154
154
<br />
@@ -274,7 +274,7 @@ Issue: [=Run steps after a timeout=] doesn't necessarily account for suspension;
274
274
1 . Let |enqueue order| be |scheduler|'s [ =Scheduler/next enqueue order=] .
275
275
1 . Increment |scheduler|'s [ =Scheduler/next enqueue order=] by 1.
276
276
1 . Let |task| be the result of [ =queuing a scheduler task=] on |queue| given |enqueue order|,
277
- [ = the posted task task source=] , and |document|, and that performs the following steps:
277
+ the [ = posted task task source=] , and |document|, and that performs the following steps:
278
278
1 . Let |callback result| be the result of [ =invoking=] |callback|. If that threw an exception,
279
279
then [ =reject=] |result| with that, otherwise resolve |result| with |callback result|.
280
280
1 . If |signal| is not null, then [ =AbortSignal/add|add the following=] abort steps to it:
0 commit comments