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

Issue 22375002: WebSocket must not be established when subprotocol is not selected by the server (Closed)

Created:
7 years, 4 months ago by yusukesuzuki0
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

WebSocket must not be established when subprotocol is not selected by the server Don't establish WebSocket connection if response's Sec-WebSocket-Protocol header doesn't exist but client's subprotocol request exists. BUG=259666 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155603

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix test description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
A + LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html View 1 1 chunk +3 lines, -3 lines 0 comments Download
A LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection-expected.txt View 1 1 chunk +10 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection_wsh.py View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/websockets/WebSocketHandshake.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
yusukesuzuki0
7 years, 4 months ago (2013-08-06 07:34:24 UTC) #1
yhirano
lgtm [+tyoshino]
7 years, 4 months ago (2013-08-06 07:58:38 UTC) #2
tyoshino (SeeGerritForStatus)
LGTM +ricea for English
7 years, 4 months ago (2013-08-06 08:13:14 UTC) #3
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html File LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html (right): https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html#newcode10 LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html:10: description("Test whether WebSocket handshake fails if the server doesn't ...
7 years, 4 months ago (2013-08-06 08:13:21 UTC) #4
Adam Rice
https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html File LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html (right): https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html#newcode10 LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html:10: description("Test whether WebSocket handshake fails if the server doesn't ...
7 years, 4 months ago (2013-08-06 08:42:16 UTC) #5
yusukesuzuki0
https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html File LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html (right): https://codereview.chromium.org/22375002/diff/1/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html#newcode10 LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-null-subprotocol-selection.html:10: description("Test whether WebSocket handshake fails if the server doesn't ...
7 years, 4 months ago (2013-08-06 08:54:43 UTC) #6
Adam Rice
lgtm
7 years, 4 months ago (2013-08-06 09:04:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yusukesuzuki@google.com/22375002/9001
7 years, 4 months ago (2013-08-06 09:06:47 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 10:38:48 UTC) #9
Message was sent while issue was closed.
Change committed as 155603

Powered by Google App Engine
This is Rietveld 408576698