Re: [w3c/ServiceWorker] What should happen in case of large number of added routes? (Issue #1746)

Note that https://github.com/w3c/ServiceWorker/pull/1714 is trying to cover the case.  It suggests existence of a rule size limit and a depth limit, but it does not tell details.
In the review @mkruisselbrink suggested to have a lower limit, and upper limit is up to the browser vendors.

There was WPTs for checking rule size and depth in the public WPT repo, but I moved it to the internal because I believe the limit is Chromium specific.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/wpt_internal/service-worker/static-router/static-router-invalid-depth-width.https.html

Maybe no WPTs for ensuring the lower limit yet.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1746#issuecomment-2606738749
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1746/2606738749@github.com>

Received on Wednesday, 22 January 2025 09:41:04 UTC