- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Sun, 16 Feb 2025 21:30:41 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/ServiceWorker/pull/1755/review/2620062580@github.com>
@yoshisatoyanagisawa commented on this pull request. > @@ -1384,8 +1388,8 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/ 1. For each [=/service worker client=] |client| where the result of running [=obtain a storage key=] given |client| [=storage key/equals=] the associated [=ServiceWorkerGlobalScope/service worker=]'s [=containing service worker registration=]'s [=service worker registration/storage key=]: 1. If |client|'s [=environment/id=] is not |id|, [=continue=]. 1. Wait for either |client|'s [=environment/execution ready flag=] to be set or for |client|'s [=discarded flag=] to be set. - 1. If |client|'s [=environment/execution ready flag=] is set, then invoke [=Resolve Get Client Promise=] with |client| and |promise|, and abort these steps. - 1. Resolve |promise| with undefined. + 1. If |client|'s [=environment/execution ready flag=] is set, [=queue a task=] on |promise|'s [=relevant settings object=]'s [=responsible event loop=], using the [=DOM manipulation task source=], to invoke [=Resolve Get Client Promise=] with |client| and |promise|, and abort these steps. + 1. [=Queue a task=] to resolve |promise| with undefined. Also, is it guaranteed that client state wont change during the parallel execution, right? -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1755#discussion_r1957638377 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1755/review/2620062580@github.com>
Received on Monday, 17 February 2025 05:30:45 UTC