1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl

18 lines
696 B
Text

#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();
attribute EventHandler oninstall;
attribute EventHandler onactivate;
attribute EventHandler onfetch;
attribute EventHandler onmessage;
attribute EventHandler onmessageerror;
};