/[chrome]
Chromium logo

Revision 261707


Jump to revision: Previous Next
Author: ricea@chromium.org
Date: Fri Apr 4 08:30:55 2014 UTC (9 years, 1 month ago)
Changed paths: 2
Log Message:
Test 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*

Review URL: https://codereview.chromium.org/221833002

Changed paths

Path Details
Directorytrunk/src/net/websockets/websocket_job.cc modified , text changed
Directorytrunk/src/net/websockets/websocket_job_test.cc modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help