WorkletGlobalScope
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
TheWorkletGlobalScope interface is an abstract class that specific worklet scope classes inherit from. EachWorkletGlobalScope defines a new global environment.
Note:You don't normally need to interact with this interface. It is a base interface intended to be subclassed. You will encounter the subclassesAudioWorkletGlobalScope insideAudioWorklet objects, orPaintWorkletGlobalScope inside CSS paintWorklet objects.
In this article
Instance properties
None.
Instance methods
None.
Specifications
| Specification |
|---|
| HTML> # workletglobalscope> |