Trait script::dom::bindings::codegen::Bindings::ServiceWorkerContainerBinding::ServiceWorkerContainer_Binding::ServiceWorkerContainerMethods
source · pub trait ServiceWorkerContainerMethods {
// Required methods
fn GetController(&self) -> Option<Root<Dom<ServiceWorker>>>;
fn Register(
&self,
scriptURL: USVString,
options: &RegistrationOptions,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
}