commit | 043af69d08dfa1e9f6c7675ee0fecb46625647b5 | [log] [tgz] |
---|---|---|
author | Adam Rice <ricea@chromium.org> | Tue Jun 18 13:03:36 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 18 13:03:36 2019 |
tree | fa6f45bd9549d8a2f6ced8c97abaf862ae8bb152 | |
parent | 0d160774583fbefa0cf12dcb7408952838e78bb5 [diff] |
WebSocket: stop removing an iframe in onerror from crashing There was an issue that if the iframe owning a WebSocket was synchronously removed in the onerror handler then it would crash the render process. This was caused by unconditionally calling Close() without checking the current state. Fix it. Also add a web platform test. Bug: 974667 Change-Id: Iaeb8f96cf600a2c052f06b5b59f4444b02615e83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663681 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#670061}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .