Chromium Code Reviews
DescriptionAllow a foreign fetch event handler to not handle an event.
Previously when a foreign fetch event handler decided not to handle an
event that would be considered a failure, as bouncing the request back
through the renderer (as would be necesary in the case of a cross origin
request to a regular service worker's fetch event) doesn't work for
foreign fetch. But since all the CORS logic is still in place for requests
that are intercepted by foreign fetch (and in particular requests with
preflights can't be intercepted by foreign fetch) it is always safe to
fall back to the network directly rather than falling back to the
renderer for foreign fetch requests.
BUG=604084
Committed: https://crrev.com/976f647c1325d73b120e234289ee9d7ef0973767
Cr-Commit-Position: refs/heads/master@{#413525}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove comment from FallbackToNetworkOrRenderer #
Messages
Total messages: 20 (13 generated)
|
||||||||||||||||||||||||||||