Chromium Code Reviews
Description[ServiceWorker] Add wasFetchedViaServiceWorker flag to WebURLResponse and ResourceResponse.
If the request was fetched via a ServiceWorker, the URL of the response could be different from the URL of the original request.
So, we need to check the flag and the response URL in the ResourceFetcher::didReceiveResponse() and DocumentThreadableLoader::handleResponse() for CSP and CORS.
This wasFetchedViaServiceWorker flag will be set in chromium side code. http://crrev.com/375513002
The check code itself will be added in another change.
BUG=373120
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177661
Patch Set 1 #
Total comments: 6
Patch Set 2 : incorporated tyoshino's comment #Patch Set 3 : s/responce/response/ #
Messages
Total messages: 9 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||