- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Tue, 13 Feb 2024 18:34:19 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 February 2024 02:34:25 UTC
@yoshisatoyanagisawa commented on this pull request.
>
Note: From this point, the [=/service worker client=] starts to <a>use</a> its <a>active service worker</a>'s <a>containing service worker registration</a>.
1. Else if |request| is a <a>subresource request</a>, then:
1. If |client|'s <a>active service worker</a> is non-null, set |registration| to |client|'s <a>active service worker</a>'s <a>containing service worker registration</a>.
1. Else, return null.
1. Let |activeWorker| be |registration|'s <a>active worker</a>.
+ 1. If |activeWorker|'s [=service worker/list of router rules=] is [=list/is not empty=]:
+ 1. Let |source| be the result of running [=Get Router Source=] algorithm with |registration|'s <a>active worker</a> and |request|.
I tried to align my algorithm calls with "running the X algorithm". I hope it works.
It has bee done in https://github.com/yoshisatoyanagisawa/ServiceWorker/pull/12
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1701#discussion_r1488817021
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1701/review/1879270190@github.com>
Received on Wednesday, 14 February 2024 02:34:25 UTC