WebView multiprocess: RVHChanged is not called when switches::kRendererProcessLimit == 2 |
||
Issue descriptionI found that WebContentsObserver::RVHChanged is not called when doing cross domain navigation, if I set kRendererProcessLimit to 2. Don't know why yet. This will mess up the compositor switch logic in the future when we support more than one render processes -- by which time the cross domain related code could be changed a lot
,
Jun 20 2016
Ahh, the default policy is site instance per process, so it won't create a process for cross-domain navigations. You can change the policy to kSitePerProcess, then cross-domain naivgations will create a new renderer process. And it works fine for me However, bad news is tracing doesn't seem work. After going through 3 renderer processes, I only see traces for th last one.
,
Jun 20 2016
I forgot to change the number of renderer processes in the xml file accordingly. So close it
,
Jun 20 2016
hush told me he forgot the manifest change also hush was navigating from URL bar rather than from clicking links, that of course does create new site instances, so don't need kSitePerProcess |
||
►
Sign in to add a comment |
||
Comment 1 by boliu@chromium.org
, Jun 20 2016