Fix WebSocket crash caused by ContextDestroyed during close event
We can cause frame a detach event in a onclose handler (as in the added layout test), and that led to an inconsistent state. This change fixes the issue. Bug: 788890 Change-Id: I229336d89f7c9863f7d8a9770e5410ab76dc3dc9 Reviewed-on: https://chromium-review.googlesource.com/805594Reviewed-by:Adam Rice <ricea@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#521629}
Showing
Please register or sign in to comment