pub fn Wrap<D>(
    cx: JSContext,
    object: Box<<D as DomTypes>::PaintWorkletGlobalScope>,
) -> Root<Dom<<D as DomTypes>::PaintWorkletGlobalScope>>
where D: DomTypes,