Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Issue 8821008: WebSocket Pepper API: Add unit test to call Close() (Closed)

Created:
9 years ago by Takashi Toyoshima
Modified:
9 years ago
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr., Yuta Kitamura
Visibility:
Public.

Description

Pepper WebSocket API: Add unit test to call Close() - Add unit tests to validate Close() operation in various situations - Bug fix to invoke ongoing receive completion callback on Close() BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_*Close' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113239

Patch Set 1 #

Total comments: 5

Patch Set 2 : revised #

Total comments: 10

Patch Set 3 : fix reviewed points #

Patch Set 4 : add comments which refer specs #

Patch Set 5 : rebase to master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -4 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 3 chunks +113 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.cc View 1 2 3 6 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Takashi Toyoshima
On Close(), I found a bug which appears when a receive operation is in progress. ...
9 years ago (2011-12-06 08:26:48 UTC) #1
dmichael (off chromium)
http://codereview.chromium.org/8821008/diff/3001/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/8821008/diff/3001/ppapi/tests/test_websocket.cc#newcode26 ppapi/tests/test_websocket.cc:26: const char* kInvalidURLs[] = { 'const char*' -> 'const ...
9 years ago (2011-12-06 17:07:34 UTC) #2
Takashi Toyoshima
Update. http://codereview.chromium.org/8821008/diff/3001/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/8821008/diff/3001/ppapi/tests/test_websocket.cc#newcode26 ppapi/tests/test_websocket.cc:26: const char* kInvalidURLs[] = { On 2011/12/06 17:07:34, ...
9 years ago (2011-12-06 17:47:18 UTC) #3
Takashi Toyoshima
> webkit/plugins/ppapi/ppb_websocket_impl.cc:215: return PP_ERROR_NOACCESS; > WebSocket protocol spec forbid applications to use these region of ...
9 years ago (2011-12-06 17:54:51 UTC) #4
dmichael (off chromium)
Please add comments in the code explaining the things that look 'weird' at a glance ...
9 years ago (2011-12-06 17:59:01 UTC) #5
Takashi Toyoshima
Thanks Dave. I added comments and reference to the API spec and protocol RFC which ...
9 years ago (2011-12-06 18:27:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8821008/1011
9 years ago (2011-12-06 18:29:31 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-06 18:29:35 UTC) #8
Presubmit check for 8821008-1011 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Missing LGTM from an OWNER for: webkit/plugins/ppapi/ppb_websocket_impl.cc

Presubmit checks took 1.3s to calculate.

Powered by Google App Engine
This is Rietveld 408576698