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

Issue 243108: Enable WebSocket in test_shell (Closed)

Created:
11 years, 2 months ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Enable WebSocket in test_shell BUG=12497, 24756 TEST=LayoutTests/fast/websockets success Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29626

Patch Set 1 #

Total comments: 20

Patch Set 2 : Fix tyoshino'c comment #

Patch Set 3 : Fix for net/socket_stream change #

Total comments: 22

Patch Set 4 : Add WebSocketStreamHandleImpl #

Patch Set 5 : Fix chrome build. fix for new net/socket_stream #

Total comments: 2

Patch Set 6 : fix nit: WebSocketHandleImpl -> WebSocketStreamHandleImpl #

Patch Set 7 : update #

Total comments: 4

Patch Set 8 : remove unnecessary namespace prefix #

Patch Set 9 : Fix to use WebKit API. update test_expectations.txt #

Patch Set 10 : add +net/socket_stream in webkit/DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+859 lines, -13 lines) Patch
M chrome/renderer/renderer_glue.cc View 5 6 7 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/api/public/WebKitClient.h View 2 chunks +4 lines, -0 lines 0 comments Download
A webkit/api/public/WebSocketStreamError.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A webkit/api/public/WebSocketStreamHandle.h View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
A webkit/api/public/WebSocketStreamHandleClient.h View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M webkit/api/src/SocketStreamHandle.cpp View 5 chunks +145 lines, -10 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.cc View 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
A webkit/glue/websocketstreamhandle_bridge.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A webkit/glue/websocketstreamhandle_delegate.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A webkit/glue/websocketstreamhandle_impl.h View 1 chunk +34 lines, -0 lines 0 comments Download
A webkit/glue/websocketstreamhandle_impl.cc View 4 5 1 chunk +151 lines, -0 lines 0 comments Download
M webkit/tools/layout_tests/test_expectations.txt View 9 1 chunk +0 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A webkit/tools/test_shell/simple_socket_stream_bridge.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
A webkit/tools/test_shell/simple_socket_stream_bridge.cc View 1 2 3 4 1 chunk +227 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/webkit.gyp View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
ukai
This CL depends on 243077 and 251087 and webkit bug 29841.
11 years, 2 months ago (2009-10-06 09:14:52 UTC) #1
Yuzo
LGTM, but my review is limited to stylistic things because I know almost nothing about ...
11 years, 2 months ago (2009-10-06 09:33:02 UTC) #2
tyoshino (SeeGerritForStatus)
http://codereview.chromium.org/243108/diff/1/2 File webkit/api/public/WebSocketStreamError.h (right): http://codereview.chromium.org/243108/diff/1/2#newcode29 Line 29: */ blank line here please http://codereview.chromium.org/243108/diff/1/2#newcode45 Line 45: ...
11 years, 2 months ago (2009-10-06 10:27:30 UTC) #3
ukai
http://codereview.chromium.org/243108/diff/1/2 File webkit/api/public/WebSocketStreamError.h (right): http://codereview.chromium.org/243108/diff/1/2#newcode29 Line 29: */ On 2009/10/06 10:27:31, tyoshino wrote: > blank ...
11 years, 2 months ago (2009-10-06 10:41:21 UTC) #4
tyoshino (SeeGerritForStatus)
LGTM http://codereview.chromium.org/243108/diff/7001/7002 File webkit/api/public/WebSocketStreamError.h (right): http://codereview.chromium.org/243108/diff/7001/7002#newcode44 Line 44: } // namespace WebKit Single space before ...
11 years, 2 months ago (2009-10-08 05:21:17 UTC) #5
darin (slow to review)
http://codereview.chromium.org/243108/diff/7001/7002 File webkit/api/public/WebSocketStreamError.h (right): http://codereview.chromium.org/243108/diff/7001/7002#newcode40 Line 40: // TODO(ukai): Define SocketStream Error codes. nit: please ...
11 years, 2 months ago (2009-10-08 06:15:09 UTC) #6
ukai
Thanks for review! I also add WebSocketStreamHandleImpl in this CL, so that test_shell can use ...
11 years, 2 months ago (2009-10-08 07:26:52 UTC) #7
darin (slow to review)
WebSocketStreamHandleImpl seems good to me. http://codereview.chromium.org/243108/diff/7018/8013 File webkit/glue/websocketstreamhandle_impl.cc (right): http://codereview.chromium.org/243108/diff/7018/8013#newcode23 Line 23: // WebSocketHandleImpl::Context --------------------------------------------- ...
11 years, 2 months ago (2009-10-09 07:14:55 UTC) #8
ukai
http://codereview.chromium.org/243108/diff/7018/8013 File webkit/glue/websocketstreamhandle_impl.cc (right): http://codereview.chromium.org/243108/diff/7018/8013#newcode23 Line 23: // WebSocketHandleImpl::Context --------------------------------------------- On 2009/10/09 07:14:56, darin wrote: ...
11 years, 2 months ago (2009-10-09 07:40:36 UTC) #9
ukai
ping
11 years, 2 months ago (2009-10-15 01:10:36 UTC) #10
tyoshino (SeeGerritForStatus)
LGTM http://codereview.chromium.org/243108/diff/13002/13004 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/243108/diff/13002/13004#newcode249 Line 249: webkit_glue::WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create( is namespace prefix necessary? http://codereview.chromium.org/243108/diff/13002/13004#newcode251 ...
11 years, 2 months ago (2009-10-15 07:44:56 UTC) #11
ukai
http://codereview.chromium.org/243108/diff/13002/13004 File chrome/renderer/renderer_glue.cc (right): http://codereview.chromium.org/243108/diff/13002/13004#newcode249 Line 249: webkit_glue::WebSocketStreamHandleBridge* WebSocketStreamHandleBridge::Create( On 2009/10/15 07:44:56, tyoshino wrote: > ...
11 years, 2 months ago (2009-10-15 09:03:48 UTC) #12
dglazkov
11 years, 2 months ago (2009-10-21 15:29:15 UTC) #13
Is it possible that this CL introduced a layout test crash? The flakiness
dashboard seems to think so:

http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/layout_tests/fla...

Powered by Google App Engine
This is Rietveld 408576698