pub trait CacheStorageMethods<D: DomTypes> {
// Required methods
fn Has(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Open(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
fn Delete(
&self,
cx: &mut JSContext,
cacheName: DOMString,
) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}