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

Issue 34753008: Notify WebSocket connection failure, chromium side (Closed)

Created:
7 years, 2 months ago by yhirano
Modified:
7 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Notify WebSocket connection failure, chromium side In order to set |wasClean| property of CloseEvent and show the failure message correctly, The blink-side WebSocket need to know whether the connection is dropped because of a server request. Blink side change is: https://codereview.chromium.org/36033003/ BUG=310405 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232921

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Total comments: 3

Patch Set 9 : rebase #

Patch Set 10 : Address a blink-side review comment #

Total comments: 8

Patch Set 11 : rebase #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -11 lines) Patch
M content/browser/renderer_host/websocket_dispatcher_host.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/websocket_host.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/websocket_host.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -3 lines 0 comments Download
M content/child/websocket_bridge.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/child/websocket_bridge.cc View 1 2 3 4 5 6 7 8 9 6 chunks +34 lines, -3 lines 0 comments Download
M content/child/websocket_dispatcher.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/websocket_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
yhirano
7 years, 2 months ago (2013-10-23 02:24:50 UTC) #1
Adam Rice
https://codereview.chromium.org/34753008/diff/70001/content/browser/renderer_host/websocket_host.cc File content/browser/renderer_host/websocket_host.cc (right): https://codereview.chromium.org/34753008/diff/70001/content/browser/renderer_host/websocket_host.cc#newcode187 content/browser/renderer_host/websocket_host.cc:187: // TODO(yhirano): Use |fail| appropriately. We should just delete ...
7 years, 2 months ago (2013-10-23 03:18:05 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/34753008/diff/70001/net/websockets/websocket_event_interface.h File net/websockets/websocket_event_interface.h (right): https://codereview.chromium.org/34753008/diff/70001/net/websockets/websocket_event_interface.h#newcode54 net/websockets/websocket_event_interface.h:54: // |fail| is true if the user agent is ...
7 years, 2 months ago (2013-10-23 05:21:33 UTC) #3
yhirano
To avoid conflict with other CLs currently reviewed, I minimize the change and add some ...
7 years, 2 months ago (2013-10-23 05:42:23 UTC) #4
Adam Rice
https://codereview.chromium.org/34753008/diff/220001/content/common/websocket_messages.h File content/common/websocket_messages.h (right): https://codereview.chromium.org/34753008/diff/220001/content/common/websocket_messages.h#newcode66 content/common/websocket_messages.h:66: // |message| will be shown in the inspector and ...
7 years, 2 months ago (2013-10-23 07:15:30 UTC) #5
yhirano
https://codereview.chromium.org/34753008/diff/220001/content/common/websocket_messages.h File content/common/websocket_messages.h (right): https://codereview.chromium.org/34753008/diff/220001/content/common/websocket_messages.h#newcode66 content/common/websocket_messages.h:66: // |message| will be shown in the inspector and ...
7 years, 2 months ago (2013-10-23 08:10:42 UTC) #6
Adam Rice
lgtm
7 years, 2 months ago (2013-10-23 08:18:01 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc#newcode228 content/child/websocket_bridge.cc:228: // This method is for closing handshake and hence ...
7 years, 2 months ago (2013-10-23 08:28:52 UTC) #8
yhirano
https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc#newcode228 content/child/websocket_bridge.cc:228: // This method is for closing handshake and hence ...
7 years, 2 months ago (2013-10-23 08:32:55 UTC) #9
yhirano
https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc File content/child/websocket_bridge.cc (right): https://codereview.chromium.org/34753008/diff/380001/content/child/websocket_bridge.cc#newcode228 content/child/websocket_bridge.cc:228: // This method is for closing handshake and hence ...
7 years, 2 months ago (2013-10-23 09:12:59 UTC) #10
tyoshino (SeeGerritForStatus)
lgtm
7 years, 2 months ago (2013-10-25 05:59:20 UTC) #11
yhirano
+jam, tsepez for OWNER review
7 years, 1 month ago (2013-10-31 18:06:17 UTC) #12
Tom Sepez
LGTM from a security perspective with nits about comments. Thanks. https://codereview.chromium.org/34753008/diff/550001/content/common/websocket_messages.h File content/common/websocket_messages.h (right): https://codereview.chromium.org/34753008/diff/550001/content/common/websocket_messages.h#newcode62 ...
7 years, 1 month ago (2013-10-31 19:07:52 UTC) #13
jam
On 2013/10/31 18:06:17, yhirano wrote: > +jam, tsepez for OWNER review lgtm You and others ...
7 years, 1 month ago (2013-10-31 20:44:16 UTC) #14
yhirano
https://codereview.chromium.org/34753008/diff/550001/content/common/websocket_messages.h File content/common/websocket_messages.h (right): https://codereview.chromium.org/34753008/diff/550001/content/common/websocket_messages.h#newcode62 content/common/websocket_messages.h:62: // Notify the renderer that the browser is required ...
7 years, 1 month ago (2013-11-01 05:58:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-01 14:42:46 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-01 15:21:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-01 23:35:42 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-01 23:59:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-02 07:27:14 UTC) #20
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=96776
7 years, 1 month ago (2013-11-02 11:22:06 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-04 03:13:34 UTC) #22
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=97061
7 years, 1 month ago (2013-11-04 07:07:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-05 00:05:21 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-05 00:42:17 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-05 01:36:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/34753008/640008
7 years, 1 month ago (2013-11-05 03:01:39 UTC) #27
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 05:59:40 UTC) #28
Message was sent while issue was closed.
Change committed as 232921

Powered by Google App Engine
This is Rietveld 408576698