Re: [w3c/ServiceWorker] Add 1024 as the number of router rule registration limit (PR #1752)

@yoshisatoyanagisawa commented on this pull request.



> @@ -212,6 +212,10 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
 
     A [=/service worker=] has an associated <dfn>list of router rules</dfn> (a [=list=] of {{RouterRule}}s). It is initially an empty [=list=].
 
+    A [=/service worker=] has an associated <dfn>router rule count</dfn> (the number of registered {{RouterRule}}s). It is initially set to zero.

I guess we do not need a dedicated variable for this because [=list=] has the number of items.
https://infra.spec.whatwg.org/#list-size

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1752#pullrequestreview-2582934198
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1752/review/2582934198@github.com>

Received on Thursday, 30 January 2025 05:18:38 UTC