Re: [w3c/ServiceWorker] OpenWindow lacks either sourceDocument or userInvolvement argument when running Navigate algorithm (Issue #1776)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1776)

I agree that the two specifications seem to be misaligned.

Specifically, the [Navigate](https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate) algorithm in the HTML specification does not appear to take `ServiceWorker.openWindow()` into account. It feels like it lacks consideration for navigations initiated by a ServiceWorker.

I believe the HTML specification should be updated to properly handle these ServiceWorker-initiated navigations.  [user navigation involvement](https://html.spec.whatwg.org/multipage/browsing-the-web.html#user-navigation-involvement) may also need to have the ServiceWorker initiated case instead of using "browser UI".

@domenic @annevk What do you think?

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

Message ID: <w3c/ServiceWorker/issues/1776/2939471090@github.com>

Received on Wednesday, 4 June 2025 10:25:24 UTC