pub fn Wrap<D: DomTypes>(
    cx: JSContext,
    object: Box<D::ServiceWorkerGlobalScope>,
) -> DomRoot<D::ServiceWorkerGlobalScope>