New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 64470 link

Starred by 22 users

Issue metadata

Status: Fixed
Closed: Jul 2011
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature

  • Only users with EditIssue permission may comment.

Sign in to add a comment

WebSocket: Implement new WebSocket protocol

Project Member Reported by, Nov 26 2010

Issue description

This will cause (intentional) compatibility break with older servers.

Comment 1 by, Nov 26 2010

Filed at WebKit bugzilla:

Comment 2 by, Dec 9 2010

Labels: -Mstone-10 MovedFrom-10 Mstone-11
P2 bugs with an owner that are not marked as started are being automatically moved to mstone:11.

Comment 3 by, Mar 1 2011

Labels: -Mstone-11 Mstone-12
Summary: WebSocket: Implement new WebSocket protocol
Punting to M-12, as protocol discussion is still ongoing in IETF hybi list.
In the mean time:
I'm posting it just for the record as I believe anyone interested is up-to-date.
Can't wait for version 12 to hit the chrome-dev channel ;)

BTW - is there a simple, built-in way to check which protocol version is implemented in the browser I'm using (chrome 11.0.686.1)?

Comment 6 by, Apr 15 2011

Labels: -Mstone-12 Mstone-13
This is going to be in M-13.
Project Member

Comment 7 by, May 6 2011

The following revision refers to this bug:

r84427 | | Fri May 06 03:14:28 PDT 2011

Changed paths:

Accept new WebSocket handshake format (hybi-04 and later).

To update WebSocket protocol implementation in WebKit,
WebSocketRequestHandshakeHandler and WebSocketResponseHandler need to be able
to understand both old handshake (hybi-03 and prior, including hixie-76) and
new handshake (hybi-04 and later).

BUG= 64470 
TEST=net_unittests --gtest_filter="WebSocketHandshake*HandlerTest.*"

Review URL:

Comment 8 Deleted

Comment 9 by, May 31 2011

Working on a Mojolicious site that supports ietf-07 (hybi-07?) but chrome doesn't appear to co-operate - The server registers the websocket connection but chrome never completes the connection it seems.

I'm using "13.0.781.0 (Developer Build 87259 Linux)" which I downloaded today - there are no warnings or errors which make this any easier to diagnose.

Knowing what version of the protocol Chrome supports (and getting a console error/warning) would be extremely useful

Comment 10 by, May 31 2011

The new protocol is not implemented yet. Hixie's draft 76 is what we support right now.

Comment 11 by, May 31 2011

To diagnose, you can use chrome://net-internals/#events, and filter by "ws" or target url. you'll see what handshake request chrome sent and what handshake response chrome received.

Labels: -Mstone-13 Mstone-14 MovedFrom-13
Moving !type=meta|regression and !releaseblocker to next mstone
I am wondering whether and when the hybi-07 will be implemented so that Chrome sends  handshakes in that new format. Is there any hint as to when this might be implemented?
FYI, the latest one is hybi-10.

Project Member

Comment 15 by, Jul 22 2011

The following revision refers to this bug:

r93578 | | Fri Jul 22 01:24:47 PDT 2011

Changed paths:

Enable hybi WebSocket protocol by default.

This CL enables the new WebSocket protocol by overriding the value of WebCore::Settings::useHixie76WebSocketProtocol() to false.

It is known that WebSocket instances initialized in worker context use the old hixie76 protocol even after this change is applied (see I'm going to take care of it after this CL is committed.

BUG= 64470 

Review URL:

Comment 16 by, Jul 28 2011

Labels: -Mstone-14 Mstone-15 MovedFrom-14
Punting out non-critical bugs.  Please move back to 14 if you believe this was done in error.

Comment 17 by, Jul 28 2011

Labels: -Feature-WebSocket -Mstone-15 -MovedFrom-14 WebKit-WebSockets Mstone-14
Status: Fixed
Actually, hybi-10 handshake and framing is implemented and will be shipped with M14.
Project Member

Comment 18 by, Oct 13 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member

Comment 19 by, Mar 10 2013

Labels: -Area-WebKit -WebKit-WebSockets -WebKit-Core -Mstone-14 Cr-Content Cr-Content-WebSockets Cr-Content-Core M-14
Project Member

Comment 20 by, Mar 13 2013

Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Project Member

Comment 21 by, Apr 6 2013

Labels: -Cr-Content Cr-Blink
Project Member

Comment 22 by, Apr 6 2013

Labels: -Cr-Content-WebSockets Cr-Blink-WebSockets

Comment 23 by, Nov 27 2015

Labels: Cr-Blink-Network-WebSockets

Comment 24 by, Nov 27 2015

Labels: -Cr-Blink-WebSockets

Sign in to add a comment