DescriptionTest for WebSocketJob being deleted on the stack
SocketStreamDispatcherHost can delete the WebSocketJob while it is still
on the stack. Add tests to ensure that WebSocketJob does not attempt to
access its own members after being deleted.
Also fix two cases where WebSocketJob attempted to access its members after
being deleted.
BUG=358038
TEST=net_unittests --gtest_filter=WebSocketJobDeleteTest*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261707
Patch Set 1 #
Total comments: 4
Patch Set 2 : Explicitly confirm that the WebSocketJob object is no longer referenced at the end of each test. #
Total comments: 3
Patch Set 3 : Make WebSocketJobDeleteTest.OnClose realistic. #
Messages
Total messages: 9 (0 generated)
|