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

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.