Re: [w3c/ServiceWorker] A WindowClient close or terminate method perhaps? (#1567)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1567)

> Right now (in Chrome at least) a window can close itself if it was opened with script (`window.open`) or from another page with `target="_blank"`. It seems reasonable that this should work for service worker opened pages too.
> 
> Thanks for the use-cases!

FYI: https://wpt.fyi/results/html/browsers/the-window-object/open-close/script-closable.html
It can be closed in all major browsers.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1567#issuecomment-7397978607
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1567/7397978607@github.com>

Received on Friday, 4 December 2026 01:34:51 UTC