- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Thu, 15 Feb 2024 18:51:27 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 February 2024 02:51:31 UTC
@yoshisatoyanagisawa commented on this pull request. > A [=/service worker=] is said to be <dfn>running</dfn> if its [=event loop=] is running. + A [=/service worker=] has an associated <dfn>ServiceWorkerGlobalScope is ready</dfn>. It is initially unset. The reason why we need the flag is for Step: > Set workerGlobalScope’s [force bypass cache for import scripts flag](https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1701.html#serviceworkerglobalscope-force-bypass-cache-for-import-scripts-flag) if forceBypassCache is true. I suppose it is fine to leave the flag unset in [Setup ServiceWorkerGlobalScope](https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1701.html#setup-serviceworkerglobalscope%E2%91%A0), and allow the flag set even if it has been set before in this step. Then, we do not need to have the flag and use the existence of the SWGS as a flag. What do you think? -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1701#discussion_r1491901351 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1701/review/1884232141@github.com>
Received on Friday, 16 February 2024 02:51:31 UTC