MDN self-hosted library · e01.org

WorkletGlobalScope

HTML DOM

no runnable cells web-api-interface upstream source

HTML DOM

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

See also

  • AudioWorkletGlobalScope
  • PaintWorkletGlobalScope