- From: Monica Chintala <notifications@github.com>
- Date: Fri, 21 Feb 2025 15:57:30 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/ServiceWorker/pull/1755/review/2634494641@github.com>
@monica-ch commented on this pull request. > @@ -970,9 +971,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/ 1. Let |promise| be [=a new promise=]. 1. Run the following steps [=in parallel=]: 1. Let |registration| be [=this=]'s associated [=/service worker registration=]. - 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}}" {{DOMException}}, and abort these steps. - 1. Set |registration|'s [=navigation preload enabled flag=]. - 1. Resolve |promise| with undefined. + 1. [=Queue a task=] on |promise|'s [=relevant settings object=]'s [=responsible event loop=], using the [=DOM manipulation task source=], to run the following steps: + 1. If |registration|'s [=active worker=] is null, [=reject=] |promise| with an "{{InvalidStateError}}" {{DOMException}}, and abort these steps. + 1. Set |registration|'s [=navigation preload enabled flag=]. In `Handle Fetch` algorithm I see [=navigation preload enabled flag=] is being used to check and also don't see they are running the steps are in [=in parallel=] -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1755#discussion_r1966333166 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1755/review/2634494641@github.com>
Received on Friday, 21 February 2025 23:57:34 UTC