Available on HTML5
Allows an active Service Worker to set itself as the active worker for a client page when the worker and the page are in the same scope.
Gets a service worker client matching a given
id and returns it in a
Gets a list of service worker clients and returns them in a
Promise. Include the
options parameter to return all service worker clients whose origin is the same as the associated service worker's origin. If
options are not included, the method returns only the service worker clients controlled by the service worker.