WorkletGlobalScope

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The WorkletGlobalScope interface is an abstract class that specific worklet scope classes inherit from. Each WorkletGlobalScope 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 subclasses AudioWorkletGlobalScope inside AudioWorklet objects, or PaintWorkletGlobalScope inside PaintWorklet objects.

Instance properties

None.

Instance methods

None.

Specifications

Specification
HTML Standard
# workletglobalscope

Browser compatibility

BCD tables only load in the browser

See also