DescriptionSkip the Service Worker CORS fallback for same origin requests. [2/2 chromium]
We are sending CORS fallback response from the browser process to the page's renderer process, when the ServiceWorker doesn't handle the CORS fetch request.
But when the request URL's origin is same as the page's security origin, we can skip the fallback and send the request from the browser process.
This change will improve the delay of the CORS fallback for same origin requests, especially when the renderer main thread is busy.
1/2 blink: https://codereview.chromium.org/1243353002/
2/2 chromium: this cl.
BUG=512764
Committed: https://crrev.com/97b13409b0c601f21f048744fa8e31852b476337
Cr-Commit-Position: refs/heads/master@{#341482}
Patch Set 1 : #
Messages
Total messages: 17 (7 generated)
|