pub(crate) trait WorkletMethods<D>where
    D: DomTypes,{
    // Required method
    fn AddModule(
        &self,
        moduleURL: USVString,
        options: &WorkletOptions,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<<D as DomTypes>::Promise>;
}