DescriptionExclude <webview> process from locking to chrome-guest:// site.
We need to fix this properly later on, but this should be fine for now.
Before the change, the issue here is:
<webview> loads http://www.google.com/
The SiteInstance of the <webview> looks like:
chrome-guest://appid, so it locks the guest process to that
site url.
When <webview> wants to read cookies from http://www.google.com,
ChildProcessSecurityPolicyImpl::SecurityState::CanAccessCookiesForOrigin()
return false and we kill the <webview> process b/c we think it's not
allowed to access the cookie.
This CL removes the origin lock for guest processes.
BUG=330264
Test=There's no way to check this @tott, patch in http://crrev.com/972313002,
Load a <webview> that accesses cookies, e.g. load http://www.google.com.
This should not result in killing renderer process anymore.
Committed: https://crrev.com/f5283a46c07caacd5ba874e08fba1c2b5d596cec
Cr-Commit-Position: refs/heads/master@{#336009}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|