WebRequestProxyingWebSocket: Wait for renderer to close mojo
WebRequestProxyingWebSocket actively tore down mojo connections in response to normal WebSocket termination. This led to race conditions where the error for the teardown would be reported to JavaScript before the correct termination reason. Wait for the render process to tear down mojo connections for normal WebSocket termination. This ensures the correct termination reason is reported to JavaScript. BUG=937790 Change-Id: I747224ff77bd17b8ef5bff71d743a66cad5da79d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1508475 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by:Ken Rockot <rockot@google.com> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#645705}
Showing
Please register or sign in to comment