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

Issue 10167028: WebSocket Pepper API: PPB_WebSocket::close must accept undefined reason (Closed)

Created:
8 years, 8 months ago by Takashi Toyoshima
Modified:
8 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

WebSocket Pepper API: PPB_WebSocket::close must accept undefined reason IDL defines close behavior as it ignores the reason argument if the type of reason is PP_VARTYPE_UNDEFINED. BUG=124609 TEST=browser_tests --gtest_filter='*WebSocket*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133646

Patch Set 1 #

Patch Set 2 : ready for reviewwq #

Patch Set 3 : add one more test #

Total comments: 4

Patch Set 4 : remove a TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -10 lines) Patch
M ppapi/tests/test_websocket.cc View 1 2 5 chunks +65 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.cc View 1 2 3 2 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Takashi Toyoshima
Hi David, A user reports a problematic behavior which doesn't conform IDL definition. I fixed ...
8 years, 8 months ago (2012-04-23 11:29:54 UTC) #1
dmichael (off chromium)
lgtm http://codereview.chromium.org/10167028/diff/3003/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/10167028/diff/3003/ppapi/tests/test_websocket.cc#newcode535 ppapi/tests/test_websocket.cc:535: PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, PP_MakeUndefined(), For what it's worth, I don't ...
8 years, 8 months ago (2012-04-23 15:14:46 UTC) #2
Takashi Toyoshima
Thank you. I removed obsolete TODO before landing. http://codereview.chromium.org/10167028/diff/3003/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/10167028/diff/3003/ppapi/tests/test_websocket.cc#newcode535 ppapi/tests/test_websocket.cc:535: PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, ...
8 years, 8 months ago (2012-04-24 06:44:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/10167028/11001
8 years, 8 months ago (2012-04-24 06:45:11 UTC) #4
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 08:06:54 UTC) #5
Change committed as 133646

Powered by Google App Engine
This is Rietveld 408576698