[css-houdini-drafts] [worklets] Allow lazy construction of WorkletGlobalScope.

hoch has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [worklets] Allow lazy construction of WorkletGlobalScope. ==
In the [section 2.2](https://drafts.css-houdini.org/worklets/#worklet-section), the step 10 in the algorithm:

```
If the worklet’s WorkletGlobalScopes is empty, run the following steps:
1. Create a WorkletGlobalScope given workletGlobalScopeType, moduleResponsesMap, 
   and outsideSettings.
2. Add the WorkletGlobalScope to worklet’s WorkletGlobalScopes.
```

For [AudioWorklet](https://webaudio.github.io/web-audio-api/#AudioWorklet-Sequence), the worklet global scope is associated with BaseAudioContext and it should be created when the context is constructed. The current spec text does not allow that.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/422 using your GitHub account

Received on Wednesday, 28 June 2017 15:15:47 UTC