Add ChannelError callback on the browser_message_filter API.
It appears ipc_channel_mojo only calls ChannelError when the remote side is closed. If we are in a blocking object wait on the UI thread in the browser the ChannelClosing message won't be posted until the UI thread is unblocked. The ChannelClosing message is sent when the host side of the channel is actually closed; not when the remote site closes the channel. SynchronousCompositorBrowserFilter appears to be the only object that waits on an object like this. BUG=722928 Change-Id: Ie1fd2a4cf651317fdc197d3e260b2b7bd759d9cd Reviewed-on: https://chromium-review.googlesource.com/887289 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#532215}
Showing
Please register or sign in to comment