Expand description
The ServiceWorker domain.
Types, command parameters and event payloads for the ServiceWorker
domain. The method-name constants for the same domain are in
crate::methods.
This domain is experimental and may change without notice.
Structs§
- Deliver
Push Message Params - Parameters of
ServiceWorker.deliverPushMessage. - Disable
Params - Parameters of
ServiceWorker.disable. - Dispatch
Periodic Sync Event Params - Parameters of
ServiceWorker.dispatchPeriodicSyncEvent. - Dispatch
Sync Event Params - Parameters of
ServiceWorker.dispatchSyncEvent. - Enable
Params - Parameters of
ServiceWorker.enable. - Service
Worker Error Message - ServiceWorker error message.
- Service
Worker Registration - ServiceWorker registration.
- Service
Worker Router Condition - Mostly corresponds to
RouterConditionin ServiceWorker spec (https://www.w3.org/TR/service-workers/#dictdef-routercondition) - Service
Worker Router Rule - Service
Worker Router Source - Corresponds to
RouterSourcein the spec while the representation is different as follows. (https://www.w3.org/TR/service-workers/#typedefdef-routersource) -RouterSourceEnum:typeequalscache,sourceDictis null. -RouterSourceDict:typeequalssourceDict,sourceDicthas valid value. - Service
Worker Router Source Dict - https://www.w3.org/TR/service-workers/#dictdef-routersourcedict
- Service
Worker Version - ServiceWorker version.
- SetForce
Update OnPage Load Params - Parameters of
ServiceWorker.setForceUpdateOnPageLoad. - Skip
Waiting Params - Parameters of
ServiceWorker.skipWaiting. - Start
Worker Params - Parameters of
ServiceWorker.startWorker. - Stop
AllWorkers Params - Parameters of
ServiceWorker.stopAllWorkers. - Stop
Worker Params - Parameters of
ServiceWorker.stopWorker. - Unregister
Params - Parameters of
ServiceWorker.unregister. - Update
Registration Params - Parameters of
ServiceWorker.updateRegistration. - Worker
Error Reported Event - Payload of the
ServiceWorker.workerErrorReportedevent. - Worker
Registration Updated Event - Payload of the
ServiceWorker.workerRegistrationUpdatedevent. - Worker
Version Updated Event - Payload of the
ServiceWorker.workerVersionUpdatedevent.