You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And with that I guess the CORS check since this would require passing the CORS flag along.
The reason being that 401/407 responses that cause a subsequent request are purely a network affair. Service workers should not be able to cause that subsequent request and should never get a fetch event for it. The easiest way to guarantee that is by simply making them network-only.
One check point is service workers still can return a synthetic response with 401/407. So, it seems HTTP fetch step 3.3.3 should consider that response as a network error?
And with that I guess the CORS check since this would require passing the CORS flag along.
The reason being that 401/407 responses that cause a subsequent request are purely a network affair. Service workers should not be able to cause that subsequent request and should never get a fetch event for it. The easiest way to guarantee that is by simply making them network-only.
Realized this while going through w3c/ServiceWorker#793.
The text was updated successfully, but these errors were encountered: