- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Wed, 09 Sep 2026 22:35:34 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 10 September 2026 05:35:38 UTC
@yoshisatoyanagisawa commented on this pull request.
> @@ -2928,6 +2928,24 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
1. Invoke <a>Schedule Job</a> with |job|.
</section>
+ <section algorithm>
+ <h3 id="request-soft-update-algorithm"><dfn export>Request Soft Update</dfn></h3>
+
+ This algorithm allows other specifications to request that the user agent check a [=/service worker registration=] for updates.
+
+ : Input
+ :: |registration|, a [=/service worker registration=]
+ :: |requestingStorageKey|, a [=/storage key=]
+ : Output
+ :: None
+
+ 1. If |registration|'s [=service worker registration/storage key=] is not [=storage key/equal=] to |requestingStorageKey|, return.
+ 1. The user agent *may* return.
Expect Note here to tell what situation the browser may return here, or write the algorithm like: `If the user agent decides to limit the frequency of update checks, return.` to clarify the condition.
(Yeah, I mean that instead of having one large note below, I suggest to bring relevant part here.)
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1847#pullrequestreview-5163112143
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1847/review/5163112143@github.com>
Received on Thursday, 10 September 2026 05:35:38 UTC