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

Issue 155079: WebSocket implementation in WebKit (Closed)

Created:
11 years, 5 months ago by ukai
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

WebSocket implementation in WebKit work-in-progress change for WebSocket implementation in WebKit.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Add more changes for Web Socket support #

Patch Set 3 : Add more changes for Web Socket support (platform/network, JSC) #

Patch Set 4 : rebase to master trunk and workaround for libsoup issue #

Patch Set 5 : pass "../WebKitTools/Scripts/build-webkit --gtk --websocket" #

Patch Set 6 : add some implementation, but dies when opening websocket' #

Patch Set 7 : WebSocketHandleSoup (using glib IO channel) works! #

Patch Set 8 : WebSocket basic functionality works! (still very loose protocol comformance) #

Patch Set 9 : Fixed WebSocket.disconnect segv #

Patch Set 10 : Fixed several issues. Tested with websocket_server.py and tyoshino server #

Patch Set 11 : Implement basic websocket handshake #

Patch Set 12 : Fix webkit review comments #

Patch Set 13 : Rewrite to use SocketStreamHandle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2745 lines, -1 line) Patch
M WebCore/ChangeLog View 12 1 chunk +57 lines, -0 lines 0 comments Download
M WebCore/DerivedSources.cpp View 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M WebCore/DerivedSources.make View 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M WebCore/GNUmakefile.am View 2 3 4 5 6 7 8 9 10 11 12 2 chunks +32 lines, -0 lines 0 comments Download
M WebCore/WebCore.xcodeproj/project.pbxproj View 7 chunks +30 lines, -0 lines 0 comments Download
M WebCore/bindings/js/JSDOMWindowCustom.cpp View 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -0 lines 0 comments Download
M WebCore/bindings/js/JSEventTarget.cpp View 3 4 5 6 7 8 9 10 11 12 3 chunks +14 lines, -0 lines 0 comments Download
A WebCore/bindings/js/JSWebSocketConstructor.h View 3 4 5 6 7 8 9 10 11 12 1 chunk +50 lines, -0 lines 0 comments Download
A WebCore/bindings/js/JSWebSocketConstructor.cpp View 3 4 5 6 7 8 9 10 11 12 1 chunk +94 lines, -0 lines 0 comments Download
A WebCore/bindings/js/JSWebSocketCustom.cpp View 3 4 5 6 7 8 9 10 11 12 1 chunk +72 lines, -0 lines 0 comments Download
M WebCore/bindings/v8/V8Index.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -0 lines 0 comments Download
M WebCore/bindings/v8/custom/V8CustomBinding.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +15 lines, -0 lines 0 comments Download
A WebCore/bindings/v8/custom/V8WebSocketCustom.cpp View 2 3 4 5 6 7 8 9 10 11 12 1 chunk +223 lines, -0 lines 0 comments Download
M WebCore/dom/EventNames.h View 1 chunk +1 line, -0 lines 0 comments Download
M WebCore/dom/EventTarget.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M WebCore/dom/EventTarget.cpp View 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
M WebCore/page/DOMWindow.idl View 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamErrorBase.h View 1 chunk +67 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamErrorBase.cpp View 1 chunk +44 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamHandle.h View 1 chunk +71 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamHandleBase.h View 1 chunk +62 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamHandleBase.cpp View 1 chunk +79 lines, -0 lines 0 comments Download
A WebCore/platform/network/SocketStreamHandleClient.h View 1 chunk +57 lines, -0 lines 0 comments Download
A WebCore/platform/network/soup/SocketStreamError.h View 1 chunk +44 lines, -0 lines 0 comments Download
A WebCore/platform/network/soup/SocketStreamHandleSoup.cpp View 1 chunk +409 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocket.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +125 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocket.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +232 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocket.idl View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +67 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketChannel.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +80 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketChannel.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +219 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketChannelClient.h View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketRequest.h View 1 chunk +73 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketRequest.cpp View 1 chunk +146 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketResponse.h View 1 chunk +68 lines, -0 lines 0 comments Download
A WebCore/websockets/WebSocketResponse.cpp View 1 chunk +230 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ukai
11 years, 5 months ago (2009-07-06 06:22:20 UTC) #1
Yuzo
My comments are mostly about style. http://codereview.chromium.org/155079/diff/1/3 File WebCore/bindings/v8/custom/V8CustomBinding.h (right): http://codereview.chromium.org/155079/diff/1/3#newcode497 Line 497: DECLARE_PROPERTY_ACCESSOR(WebSocketonopen); I ...
11 years, 5 months ago (2009-07-06 06:58:52 UTC) #2
tyoshino-do-not-use
http://codereview.chromium.org/155079/diff/1/4 File WebCore/dom/EventNames.h (right): http://codereview.chromium.org/155079/diff/1/4#newcode132 Line 132: macro(open) \ On 2009/07/06 06:58:52, Yuzo wrote: > ...
11 years, 5 months ago (2009-07-06 07:50:04 UTC) #3
Yuzo
http://codereview.chromium.org/155079/diff/1/4 File WebCore/dom/EventNames.h (right): http://codereview.chromium.org/155079/diff/1/4#newcode132 Line 132: macro(open) \ Ah, you are right. Please ignore ...
11 years, 5 months ago (2009-07-06 07:53:49 UTC) #4
ukai
11 years, 3 months ago (2009-09-11 10:43:15 UTC) #5
Code has been landed in webkit as r48270

On 2009/07/06 07:53:49, Yuzo wrote:
> http://codereview.chromium.org/155079/diff/1/4
> File WebCore/dom/EventNames.h (right):
> 
> http://codereview.chromium.org/155079/diff/1/4#newcode132
> Line 132: macro(open) \
> Ah, you are right. Please ignore my comment.
> 
> On 2009/07/06 07:50:04, tyoshino wrote:
> > On 2009/07/06 06:58:52, Yuzo wrote:
> > > I guess we should move this above macro(pause) to
> > > sort the list alphabetically.
> > 
> > Looks like categorized for each type (generic, video related, etc). This
> should
> > be kept isolated from others.
> > 
> > http://trac.webkit.org/changeset/27277#file18

Powered by Google App Engine
This is Rietveld 408576698