Missing close of browser RouterProvider binding on renderer death |
|||||||||
Issue description
After a renderer has died (e.g. because you chrome:kill-ed it) and have been restarted (e.g. due to reloading the tab) all associated interface connection requests initiated by the new renderer process will fail due to lack of state clean-up in the RPH.
When the new renderer connects this code will get run:
void RenderProcessHostImpl::OnRouteProviderRequest(
mojom::RouteProviderAssociatedRequest request) {
if (route_provider_binding_.is_bound())
return;
route_provider_binding_.Bind(std::move(request));
}
However, route_provider_binding_ is never closed when the previous process crashed.
,
Jan 23 2017
,
Jan 23 2017
Issue 683021 has been merged into this issue.
,
Jan 23 2017
,
Jan 23 2017
,
Jan 23 2017
,
Jan 24 2017
Is this change applicable to All OSs or any specific OS?
,
Jan 24 2017
Should be all OSes.
,
Jan 24 2017
,
Jan 24 2017
Your change meets the bar and is auto-approved for M57. Please go ahead and merge the CL to branch 2987 manually. Please contact milestone owner if you have questions. Owners: amineer@(clank), cmasso@(bling), ketakid@(cros), govind@(desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 24 2017
Sam could you please merge this for me?
,
Jan 24 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7d50a786e94698ab4b5a431cae404f5f080c076a commit 7d50a786e94698ab4b5a431cae404f5f080c076a Author: Sam McNally <sammc@chromium.org> Date: Tue Jan 24 23:10:02 2017 Close browser RouterProvider binding on renderer death BUG= 683794 Review-Url: https://codereview.chromium.org/2652573002 Cr-Commit-Position: refs/heads/master@{#445523} (cherry picked from commit 4d9f1c2e1cf7a167d2e0737692b18e5e68cbe71b) Review-Url: https://codereview.chromium.org/2653133002 . Cr-Commit-Position: refs/branch-heads/2987@{#77} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} [modify] https://crrev.com/7d50a786e94698ab4b5a431cae404f5f080c076a/content/browser/renderer_host/render_process_host_impl.cc |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by bugdroid1@chromium.org
, Jan 23 2017