WebIDLpedia

PaintWorklet Global name

Definition

Realm execution contexts tied to the PaintWorklet Global name use PaintWorkletGlobalScope as a basis for their global object.

This means their global object exposes the following members:


    undefined registerPaint(DOMString name, VoidFunction paintCtor);
    readonly attribute unrestricted double devicePixelRatio;

The following interfaces are exposed exclusively in the corresponding realms:

The following interfaces are also exposed in the corresponding realms: