ServiceWorkerGlobalScope

This ServiceWorker API interface represents the global execution context of a service worker. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns workerGlobal's WorkerLocation object.

Link copied to clipboard

Returns workerGlobal's WorkerNavigator object.

Functions

Link copied to clipboard
Link copied to clipboard
open operator fun get(key: String): Any?
Link copied to clipboard
open operator fun set(key: String, value: Any?)
Link copied to clipboard
Link copied to clipboard