Bug
1560899 [wpt PR 17380] - WebSocket: stop removing an iframe in onerror from crashing, a=testonly
Automatic update from web-platform-tests
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}
--
Set a long timeout
--
wpt-commits:
433e1f06259a79c6cb8bf695bc03ffdfdfe4e7e7,
28ad65497bccb301707e341a9d36f9d144e2793e
wpt-pr: 17380