WindowClient: navigate() method - Web APIs | MDN
Syntax
Parameters
url-
The location to navigate to.
Return value
A Promise that resolves to the existing WindowClient if the URL is from the same origin as the service worker, or null otherwise.
Specifications
| Specification |
|---|
| Service Workers Nightly # client-navigate |