Files
ladybird/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

17 lines
664 B
Plaintext

// 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;
};