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 CSS paint Worklet objects.

Instance properties

None.

Instance methods

None.

Specifications

Specification
HTML
# workletglobalscope

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
WorkletGlobalScope

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also