How to open new browser window from Service Worker

Viewed 1243

Is there a way to open new browser window from Service Worker like window.open(...)?

Clients.openWindow() or WindowClient.navigate() not something I need, and open new tab only.

1 Answers

I'm not clear as to why you explicitly call out Clients.openWindow() as not being something you need, because what you describe is the intended use case for Clients.openWindow(). That's as close as you'll get to a solution.

Related