As per current spec, the connection-allowlist check is early, as in before delegating the request to the service worker.
That means that a SW which might allow certain origins, would not receive those requests as they are disallowed by the document.
Confirming that that's the desired behaviour...
I think the current spec'ed behaviour is OK, but perhaps there is a utility to an opt-in to allow those requests to go to the SW?
(Note that a SW has its own connection allowlist, or none at all)
As per current spec, the connection-allowlist check is early, as in before delegating the request to the service worker.
That means that a SW which might allow certain origins, would not receive those requests as they are disallowed by the document.
Confirming that that's the desired behaviour...
I think the current spec'ed behaviour is OK, but perhaps there is a utility to an opt-in to allow those requests to go to the SW?
(Note that a SW has its own connection allowlist, or none at all)