diff --git a/source b/source index ba560b1db50..1563e37ac83 100644 --- a/source +++ b/source @@ -1637,23 +1637,25 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
Let p be a new promise created in this's relevant realm.
Let global be this's relevant global + object.
Run the following steps in parallel:
If nameList contains name,
then queue a global task on the DOM manipulation task source given
- this's relevant global object to reject p with a
- TypeError
, and abort these steps.
TypeError
, and abort these
+ steps.Do some potentially lengthy work.
Append name to nameList.
Queue a global task on the DOM manipulation task source - given this's relevant global object to resolve p with - undefined.
Queue a global task on the DOM manipulation task source given + global to resolve p with undefined.
Let p be a new promise created in this's relevant realm.
Let global be this's relevant global + object.
Enqueue the following steps to nameListQueue:
If nameList contains name,
then queue a global task on the DOM manipulation task source given
- this's relevant global object to reject p with a
- TypeError
, and abort these steps.
TypeError
, and abort these
+ steps.Do some potentially lengthy work.
Append name to nameList.
Queue a global task on the DOM manipulation task source - given this's relevant global object to resolve p with - undefined.
Queue a global task on the DOM manipulation task source given + global to resolve p with undefined.
Let result be a new promise object.
Let global be this's relevant global object.
Run these steps in parallel:
@@ -72171,14 +72177,14 @@ interface OffscreenCanvas : EventTarget {Queue a global task on the canvas blob serialization task source - given this's relevant global object to run these steps:
+ given global to run these steps:If file is null, then reject result with an
"EncodingError
" DOMException
.
Otherwise, resolve result with a new Blob
object, created in
- this's relevant realm, representing
+ global's relevant realm, representing
file. FILEAPI
By extension, you cannot access Web IDL's this value from steps running in + parallel, even if those steps were activated by an algorithm that does have access + to the this value.
+You can, however, manipulate specification-level data structures and values from Infra, as those are realm-agnostic. They are never directly exposed to JavaScript without a specific conversion taking place (often via Web IDL). @@ -123951,20 +123961,22 @@ dictionary WorkletOptions {
Let promise be a new promise.
Let workletInstance be this.
Run the following steps in parallel:
If this's global scopes - is empty, then:
+If workletInstance's global + scopes is empty, then:
Create a worklet global scope given this.
Create a worklet global scope given workletInstance.
Optionally, create additional - global scope instances given this, depending on the specific worklet in question - and its specification.
Wait for all steps of the creation process(es) — including those taking place within the worklet @@ -123972,7 +123984,7 @@ dictionary WorkletOptions {
Let pendingTasks be this's Let pendingTasks be workletInstance's global scopes's size.
For each workletGlobalScope of
- this's global scopes,
- queue a global task on the networking task source given
- workletGlobalScope to fetch a worklet script graph given
- moduleURLRecord, outsideSettings, this's worklet
- destination type, options["workletInstance's global
+ scopes, queue a global task on the networking task source
+ given workletGlobalScope to fetch a worklet script graph given
+ moduleURLRecord, outsideSettings, workletInstance's
+ worklet destination type, options["
credentials
"], workletGlobalScope's
- relevant settings object, this's relevant settings object, workletInstance's module responses map, and the following
steps given script:
Only the first of these fetches will actually perform a network request; the
ones for other WorkletGlobalScope
s will reuse responses from this's responses from workletInstance's module responses map.
Queue a global task on the networking task source given - this's relevant global object to perform the following + workletInstance's relevant global object to perform the following steps:
Queue a global task on the networking task source given - this's relevant global object to perform the following + workletInstance's relevant global object to perform the following steps:
Append moduleURLRecord to - this's added modules - list.
Set addedSuccessfully to true.
Run a module script given script.
Queue a global task on the - networking task source given this's relevant global - object to perform the following steps:
+Queue a global task on the networking task source given + workletInstance's relevant global object to perform the following + steps: