diff options
author | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-26 11:13:29 +0000 |
---|---|---|
committer | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-26 11:13:29 +0000 |
commit | 3f915fae62435f901f520286c7afeddb26644549 (patch) | |
tree | 3dd97ab7c1a7230132cd21251ea99e27fcd5ce3e /webkit | |
parent | 146180a4bf9d9a75288f88d902dc14540f28f3dc (diff) | |
download | chromium_src-3f915fae62435f901f520286c7afeddb26644549.zip chromium_src-3f915fae62435f901f520286c7afeddb26644549.tar.gz chromium_src-3f915fae62435f901f520286c7afeddb26644549.tar.bz2 |
WebSocket Pepper API: fix data corruption at ReceiveMessage in NaCl
PpbWebSocketRpcServer::PPB_WebSocket_ReceiveMessage sometime gets unexpected
synchronous PP_OK result on PPBWebSocketInterface calling. Receiving data is
passed only in completion callbacks. Then, it causes data corruption.
This CL fix this issue and in order to reproduce this synchronous PP_OK situation,
add one stress test, StressedSendReceive.
This CL also fix CcInterface test flakiness on Mac.
BUG=111636
TEST=browser_tests --test_filter='PPAPI*Test.WebSocket_CcInterfaces'; browser_tests --test_filter='PPAPI*Test.WebSocket_StressedSendReceive'
Review URL: http://codereview.chromium.org/9724007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
0 files changed, 0 insertions, 0 deletions