Network service: update first-party URL for main frame request
This logic is present in ResourceDispatcherHostImpl::ContinuePendingBeginRequest(). However, it is missing in URLLoader when constructing the URLRequest. The bug causes the wrong cookie to be presented if server redirection happens. DownloadContentTest.DownloadAttributeSameSiteCookie should provide test coverage for this CL. BUG=787046 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I708ecba1c386d101ae21e968351732a15fb6f31f Reviewed-on: https://chromium-review.googlesource.com/779065Reviewed-by:Matt Menke <mmenke@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Commit-Queue: Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#518367}
Showing
Please register or sign in to comment