@@ -266,22 +266,20 @@ the user agent <em>must</em> run the following steps:
266
266
1. Let |promise| be <a>a new promise</a> .
267
267
268
268
2. Run the following steps <a>in parallel</a> :
269
- 1. If there are no arguments, return without doing anything. Abort these steps.
270
-
271
- 2. Let |resolvedModuleURL| be the result of <a>resolving</a> the |moduleURL| relative to the
269
+ 1. Let |resolvedModuleURL| be the result of <a>resolving</a> the |moduleURL| relative to the
272
270
<a>API base URL</a> specified by the <a>entry settings object</a> when the method was
273
271
invoked.
274
272
275
- 3 . If this fails, reject |promise| with a <a>SyntaxError</a> exception and abort these
273
+ 2 . If this fails, reject |promise| with a <a>SyntaxError</a> exception and abort these
276
274
steps.
277
275
278
- 4 . Add |resolvedModuleURL| to the list of <a>worklet's resolved module URLs</a> .
276
+ 3 . Add |resolvedModuleURL| to the list of <a>worklet's resolved module URLs</a> .
279
277
280
- 5 . Ensure that there is at least one {{WorkletGlobalScope}} in the <a>worklet's
278
+ 4 . Ensure that there is at least one {{WorkletGlobalScope}} in the <a>worklet's
281
279
WorkletGlobalScopes</a> . If not <a>create a WorkletGlobalScope</a> given the current
282
280
{{Worklet}} .
283
281
284
- 6 . For each {{WorkletGlobalScope}} in the <a>worklet's WorkletGlobalScopes</a> , run these
282
+ 5 . For each {{WorkletGlobalScope}} in the <a>worklet's WorkletGlobalScopes</a> , run these
285
283
substeps:
286
284
1. Let |settings| be the {{WorkletGlobalScope}} 's associated <a>environment settings
287
285
object</a> .
@@ -295,7 +293,7 @@ the user agent <em>must</em> run the following steps:
295
293
296
294
3. <a>Run a module script</a> given |script|.
297
295
298
- 7 . If <em> all</em> the steps above succeeded (in particular, if all of the scripts parsed
296
+ 6 . If <em> all</em> the steps above succeeded (in particular, if all of the scripts parsed
299
297
and loaded into the global scopes), resolve |promise|.
300
298
<br> Otherwise, reject |promise|.
301
299
0 commit comments