pub(crate) trait ServiceWorkerContainerMethods<D>where
D: DomTypes,{
// Required methods
fn GetController(&self) -> Option<Root<Dom<<D as DomTypes>::ServiceWorker>>>;
fn Register(
&self,
scriptURL: USVString,
options: &RegistrationOptions,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<<D as DomTypes>::Promise>;
}