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

Issue 8774042: WebSocket Pepper API: ArrayBuffer support (Closed)

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

Description

WebSocket Pepper API: ArrayBuffer support This CL supports basic binary communication. For now, communication between Chrome and WebKit uses WebData structure. It must use WebArrayBuffer directly after WebKit API revision. BUG=87310 TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_BinarySendReceive' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115871

Patch Set 1 #

Patch Set 2 : rebase (contains 8772001) #

Patch Set 3 : using landed ArrayBuffer support #

Patch Set 4 : Add tests for C++ bindings #

Patch Set 5 : fix win32 build error #

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : convert a condition as readable and fix a nit #

Patch Set 8 : rebase for landing #

Patch Set 9 : rebase #

Patch Set 10 : sync path had a bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -53 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_websocket.h View 1 2 3 chunks +9 lines, -2 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 2 3 4 5 6 7 8 16 chunks +114 lines, -34 lines 0 comments Download
M webkit/plugins/ppapi/ppb_websocket_impl.cc View 1 2 3 4 5 6 7 8 9 7 chunks +49 lines, -17 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Takashi Toyoshima
This change depends following patch for WebKit. diff --git a/LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py b/LayoutTests/http/tests/websocket/tests/hybi/echo_wsh.py index 79c3f10..9851d26 100644 --- ...
9 years ago (2011-12-02 13:27:18 UTC) #1
Takashi Toyoshima
Comment #1 patch is already landed in WebKit side.
9 years ago (2011-12-05 08:08:26 UTC) #2
Takashi Toyoshima
Copy of memo on Patch Set 2: For now, this change depends on following ongoing ...
9 years ago (2011-12-16 08:41:52 UTC) #3
Takashi Toyoshima
I update this change by using landed ArrayBuffer support. Now, I'm updating WebKit side API ...
9 years ago (2011-12-20 04:40:21 UTC) #4
dmichael (off chromium)
lgtm http://codereview.chromium.org/8774042/diff/15001/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/8774042/diff/15001/ppapi/tests/test_websocket.cc#newcode468 ppapi/tests/test_websocket.cc:468: ASSERT_FALSE(result != PP_OK && result != PP_OK_COMPLETIONPENDING); optional: ...
9 years ago (2011-12-20 17:11:04 UTC) #5
Takashi Toyoshima
Thank you! http://codereview.chromium.org/8774042/diff/15001/ppapi/tests/test_websocket.cc File ppapi/tests/test_websocket.cc (right): http://codereview.chromium.org/8774042/diff/15001/ppapi/tests/test_websocket.cc#newcode468 ppapi/tests/test_websocket.cc:468: ASSERT_FALSE(result != PP_OK && result != PP_OK_COMPLETIONPENDING); ...
9 years ago (2011-12-21 07:45:57 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/8774042/23001
9 years ago (2011-12-21 07:46:20 UTC) #7
commit-bot: I haz the power
Presubmit check for 8774042-23001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-21 07:46:24 UTC) #8
Takashi Toyoshima
Brett and Piman, Could you give me a LGTM stamp for webkit/plugins/ppapi ?
9 years ago (2011-12-21 07:49:36 UTC) #9
brettw
lgtm
9 years ago (2011-12-21 17:55:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/23001
9 years ago (2011-12-22 03:34:21 UTC) #11
commit-bot: I haz the power
Try job failure for 8774042-23001 (retry) on mac_rel for steps "ui_tests, webkit_unit_tests" (clobber build). It's ...
9 years ago (2011-12-22 05:36:41 UTC) #12
Takashi Toyoshima
Binary communication via C++ interface seems to fail constantly in mac. I'll investigate it.
9 years ago (2011-12-22 08:15:20 UTC) #13
Takashi Toyoshima
I could not reproduce this issue in my local environment, yet. I try it in ...
9 years ago (2011-12-22 11:33:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/35001
9 years ago (2011-12-22 13:13:57 UTC) #15
commit-bot: I haz the power
Try job failure for 8774042-35001 (retry) on win_rel for step "unit_tests". It's a second try, ...
9 years ago (2011-12-22 14:56:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/35001
9 years ago (2011-12-22 15:12:56 UTC) #17
Takashi Toyoshima
Only bots's mac_rel build cause error on binary data communication via C++interface at high rate. ...
9 years ago (2011-12-23 02:10:54 UTC) #18
Takashi Toyoshima
I caught the issue. ReceiveMessage had a bug on asynchronous returning path. I must set ...
8 years, 12 months ago (2011-12-26 13:53:42 UTC) #19
dmichael (off chromium)
lgtm
8 years, 12 months ago (2011-12-27 16:45:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/38006
8 years, 12 months ago (2011-12-28 02:16:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/38006
8 years, 12 months ago (2011-12-28 02:52:24 UTC) #22
commit-bot: I haz the power
Try job failure for 8774042-38006 (retry) on win_rel for steps "browser_tests, ui_tests". It's a second ...
8 years, 12 months ago (2011-12-28 04:36:03 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8774042/38006
8 years, 12 months ago (2011-12-28 04:38:26 UTC) #24
Takashi Toyoshima
win_rel got the known issue on bots. http://code.google.com/p/chromium/issues/detail?id=107836 I'll retry.
8 years, 12 months ago (2011-12-28 04:39:51 UTC) #25
commit-bot: I haz the power
8 years, 12 months ago (2011-12-28 05:51:33 UTC) #26
Change committed as 115871

Powered by Google App Engine
This is Rietveld 408576698