DescriptionUse the request URL as the URL of the resources which are fetched ServiceWorker [1/3 blink]
In current implementation the response's URL is used as the URL of the resources. But it is not correct.
1/3 blink: https://codereview.chromium.org/732963003 [THIS PATCH]
- Intorduce originalURLViaServiceWorker in ResourceResponse and WebURLResponse
- Change CSP check to use originalURLViaServiceWorker if exists in ResourceFetcher::didReceiveResponse().
2/3 chromium: https://codereview.chromium.org/731983003
- Stop updating the request's URL in ResourceDispatcher::OnReceivedResponse() and WebURLLoaderImpl::Context::OnReceivedResponse().
- Set WebURLResponse's originalURLViaServiceWorker in WebURLLoaderImpl::PopulateURLResponse().
3/3 blink: https://codereview.chromium.org/732003002
- Change CSP check to use originalURLViaServiceWorker.
- Add LayoutTest for this bug.
BUG=433743
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185659
Patch Set 1 : #
Messages
Total messages: 18 (7 generated)
|