- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Tue, 13 Feb 2024 18:38:58 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 February 2024 02:39:05 UTC
@yoshisatoyanagisawa commented on this pull request. > + 1. For each |orCondition| of |orConditions|: + 1. If running [=Verify Router Condition=] algorithm with |orCondition| and |serviceWorker| returns false, return false. + 1. Set |hasCondition| to true. + 1. Return |hasCondition|. + </section> + + <section algorithm> + <h3 id="match-router-condition-algorithm"><dfn>Match Router Condition</dfn></h3> + : Input + :: |condition|, a {{RouterCondition}} + :: |serviceWorker|, a [=/service worker=] + :: |request|, a [=/request=] + : Output + :: a boolean + + Note: if there are multiple conditions (e.g. `urlPattern`, `runningStatus`, and `requestMethod` are set), all conditions will be matched to return true. revised 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_r1488818942 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/pull/1701/review/1879272951@github.com>
Received on Wednesday, 14 February 2024 02:39:05 UTC