W3cubDocs

/Web APIs

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
WorkletGlobalScope 65 79 76 No 52 14.1 65 65 79 47 14.5 9.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/WorkletGlobalScope