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

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1776)

I know Chromium implement `openWindow()` as an open new tab.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/service_worker/service_worker_clients.cc;l=195;drc=4b816ad8489fde220430098454f287d900486e7e

* navigate step 5 and 6
    * I suppose it is not expect to carry over the origin.
* snapshot source snapshot params
    * if "has transient activation" is for user-initiated, I also think it reasonable to set it false for ServiceWorkers.
* create navigation params by fetching
    * As somewhat touched above, I suppose it is not expected to send referrer.

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

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

Received on Thursday, 5 June 2025 05:35:57 UTC