Skip to content

Commit

Permalink
Addressed the comment.
Browse files Browse the repository at this point in the history
- added "then".
- Changed source to {{RouterSource/"..."}}.
  • Loading branch information
yoshisatoyanagisawa committed Jan 15, 2024
1 parent f04776c commit f9fda17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3111,8 +3111,8 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
1. Return null.
1. Else if |registration|'s <a>active worker</a>'s [=service worker/list of router rules=] is [=list/is not empty=]:
1. Let |source| be a result of running [=Get Router Source=] algorithm with |registration|'s <a>active worker</a> and |request|.
1. If |source| is "network", return null.
1. Else if |source| is "cache":
1. If |source| is {{RouterSource/"network"}}, return null.
1. Else if |source| is {{RouterSource/"cache"}}, then:
1. Let |cache promise| be a result of {{cache/matchAll(|request|, {})}}
1. [=Upon fulfillment=] of |cache promise| with |cache response|:
1. If |cache response| is not a {{Response}} object, return null.
Expand Down

0 comments on commit f9fda17

Please sign in to comment.