These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
23 lines
757 B
Text
23 lines
757 B
Text
// https://w3c.github.io/ServiceWorker/#serviceworkerregistration-interface
|
|
[SecureContext, Exposed=(Window,Worker)]
|
|
interface ServiceWorkerRegistration : EventTarget {
|
|
readonly attribute ServiceWorker? installing;
|
|
readonly attribute ServiceWorker? waiting;
|
|
readonly attribute ServiceWorker? active;
|
|
[FIXME, SameObject] readonly attribute NavigationPreloadManager navigationPreload;
|
|
|
|
readonly attribute USVString scope;
|
|
readonly attribute ServiceWorkerUpdateViaCache updateViaCache;
|
|
|
|
[FIXME, NewObject] Promise<undefined> update();
|
|
[FIXME, NewObject] Promise<boolean> unregister();
|
|
|
|
// event
|
|
[FIXME] attribute EventHandler onupdatefound;
|
|
};
|
|
|
|
enum ServiceWorkerUpdateViaCache {
|
|
"imports",
|
|
"all",
|
|
"none"
|
|
};
|