- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Wed, 12 Jul 2023 02:24:48 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 July 2023 09:24:53 UTC
@yoshisatoyanagisawa commented on this pull request.
> @@ -3177,6 +3245,19 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
1. Return |response|.
</section>
+ <section algorithm>
+ <h3 id="get-router-source-algorithm"><dfn>GetRouterSource</dfn></h3>
+ : Input
+ :: |rules|, a list of {{RouterRule}}
+ :: |request|, a [=/request=]
+ : Output
+ :: {{RouterSourceEnum}} or null
+
+ 1. For each |rule| in |rules|:
+ 1. If |request|'s [=request/URL=] [=urlpattern/matches=] |rule|'s {{urlPattern}}, then returns |rule|'s {{RouterRule/source}}.
I tried to clarify that part. I made RouterCondition/urlPattern to have an associated component.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1686#discussion_r1260885221
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1686/review/1525916616@github.com>
Received on Wednesday, 12 July 2023 09:24:53 UTC