Fix third party cookies not being sent in WebView iframes.
The issue was in: AwCookieAccessPolicy::GetShouldAcceptThirdPartyCookies() AwContentsIoThreadClient::FromID(render_process_id, render_frame_id) was used, but at this point a navigation request is not associated with a renderer process yet. It caused the cookies not being sent with the request. The solution was to use AwContentsIoThreadClient::FromID(frame_tree_node_id) instead. Bug: 793648, 794939 Change-Id: I5bda7affab67645cfd64c105b06c8a628047dd79 Reviewed-on: https://chromium-review.googlesource.com/827018 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#524098}
Showing
Please register or sign in to comment