File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -219,17 +219,17 @@ Note:
219
219
When a user agent is to <dfn export>create a WorkletGlobalScope</dfn> , given |workletGlobalScopeType|,
220
220
|moduleResponsesMap|, and |outsideSettings|, it <em> must</em> run the following steps:
221
221
222
- 1. Create the <a>worklet global scope execution environment</a> and run the rest of these steps
223
- in that context.
222
+ 1. Let |agent| be the result of [=obtain a worklet agent|obtaining a worklet agent=] given
223
+ |outsideSettings|. This agent corresponds to the a <a>worklet global scope execution
224
+ environment</a> . Run the rest of these steps in that context.
224
225
225
- 2. Call the JavaScript <a>InitializeHostDefinedRealm</a> abstract operation with the following
226
- customizations:
226
+ 2. Let |realmExecutionContext| be the result of
227
+ [=create a new JavaScript realm|creating a new JavaScript realm=] given <var> agent</var> and
228
+ the following customizations:
227
229
228
230
- For the global object, create a new |workletGlobalScopeType| object. Let
229
231
|workletGlobalScope| be the created object.
230
232
231
- - Let |realmExecutionContext| be the created JavaScript execution context.
232
-
233
233
3. Let |insideSettings| be the result of <a>set up a worklet environment settings object</a>
234
234
given |realmExecutionContext|, and |outsideSettings|.
235
235
You can’t perform that action at this time.
0 commit comments