2025-08-04 22:17:20 +03:00
|
|
|
#import <CookieStore/CookieStore.idl>
|
2024-11-30 18:35:45 +13:00
|
|
|
#import <DOM/EventHandler.idl>
|
|
|
|
|
|
|
|
|
|
// https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope
|
|
|
|
|
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker, SecureContext]
|
|
|
|
|
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|
|
|
|
[FIXME, SameObject] readonly attribute Clients clients;
|
|
|
|
|
[FIXME, SameObject] readonly attribute ServiceWorkerRegistration registration;
|
|
|
|
|
[FIXME, SameObject] readonly attribute ServiceWorker serviceWorker;
|
|
|
|
|
|
|
|
|
|
[FIXME, NewObject] Promise<undefined> skipWaiting();
|
|
|
|
|
|
2025-04-25 17:41:40 +12:00
|
|
|
attribute EventHandler oninstall;
|
|
|
|
|
attribute EventHandler onactivate;
|
|
|
|
|
attribute EventHandler onfetch;
|
2024-11-30 18:35:45 +13:00
|
|
|
|
2025-04-25 17:41:40 +12:00
|
|
|
attribute EventHandler onmessage;
|
|
|
|
|
attribute EventHandler onmessageerror;
|
2024-11-30 18:35:45 +13:00
|
|
|
};
|