DescriptionDon't send the redirected request once the request was fallbacked to the network.
According to the fetch spec (https://fetch.spec.whatwg.org/), once the request goes to the network, skip-service-worker flag must be set.
So if the server returns a redirect response, the next request must not be handled by service worker.
BUG=517364, 512764
Committed: https://crrev.com/eeff087680dd4fc41c1a2f92fffdc96546053b74
Cr-Commit-Position: refs/heads/master@{#342386}
Patch Set 1 #Patch Set 2 : place parentheses around the '&&' expression #
Total comments: 4
Messages
Total messages: 19 (6 generated)
|