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

Issue 1304243005: Handle addError on a WebSocket (Closed)

Created:
5 years, 3 months ago by Søren Gjesse
Modified:
5 years, 3 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Handle addError on a WebSocket A call to addError on a WebSocket will now close the connection and add the error to the associated stream. Using addError on a WebSocket is not that relevant as normally the close method is used to close with a possible error condition. BUG= https://github.com/dart-lang/sdk/issues/24278 R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/373dd4b33c1efd52ef0dc0ad2a5249263b6b506d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -0 lines) Patch
M sdk/lib/io/websocket_impl.dart View 2 chunks +11 lines, -0 lines 0 comments Download
M tests/standalone/io/web_socket_error_test.dart View 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Søren Gjesse
5 years, 3 months ago (2015-09-03 12:10:19 UTC) #1
Lasse Reichstein Nielsen
lgtm
5 years, 3 months ago (2015-09-04 09:11:01 UTC) #2
Søren Gjesse
5 years, 3 months ago (2015-09-07 06:29:01 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
373dd4b33c1efd52ef0dc0ad2a5249263b6b506d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698