Use the request URL as the URL of the resources which are fetched ServiceWorker [2/3 chromium]
blink: https://codereview.chromium.org/732963003
- 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 [THIS PATCH]
- Stop updating the request's URL in ResourceDispatcher::OnReceivedResponse() and WebURLLoaderImpl::Context::OnReceivedResponse().
- Set WebURLResponse's originalURLViaServiceWorker in WebURLLoaderImpl::PopulateURLResponse().
blink: https://codereview.chromium.org/732003002
- Change CSP check to use originalURLViaServiceWorker.
- Add LayoutTest for this bug.
BUG=433743
Review URL: https://codereview.chromium.org/
731983003
Cr-Commit-Position: refs/heads/master@{#305075}