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

Issue 2432863004: Fix ReadableStream getReader({mode: 'byob'}) (Closed)

Created:
4 years, 2 months ago by Adam Rice
Modified:
4 years, 2 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ReadableStream getReader({mode: 'byob'}) getReader({mode: 'byob'}) failed with a ReferenceError. Make it throw a TypeError instead. BUG=657743 Committed: https://crrev.com/4abae818f5a6e89e539c091819f55d113cf2dc46 Cr-Commit-Position: refs/heads/master@{#426453}

Patch Set 1 #

Patch Set 2 : Fix test description #

Total comments: 2

Patch Set 3 : Unconditionally throw if mode is 'byob' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
A + third_party/WebKit/LayoutTests/http/tests/streams/chromium/README.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/streams/chromium/get-reader-byob.html View 1 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStream.js View 1 2 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Adam Rice
4 years, 2 months ago (2016-10-20 09:29:36 UTC) #2
tyoshino (SeeGerritForStatus)
lgtm
4 years, 2 months ago (2016-10-20 10:25:54 UTC) #3
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2432863004/diff/20001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/2432863004/diff/20001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode178 third_party/WebKit/Source/core/streams/ReadableStream.js:178: if (IsReadableStreamDefaultController(this[readableStreamController])) { i think it's ok not ...
4 years, 2 months ago (2016-10-20 10:26:01 UTC) #4
Adam Rice
https://codereview.chromium.org/2432863004/diff/20001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/2432863004/diff/20001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode178 third_party/WebKit/Source/core/streams/ReadableStream.js:178: if (IsReadableStreamDefaultController(this[readableStreamController])) { On 2016/10/20 10:26:01, tyoshino wrote: > ...
4 years, 2 months ago (2016-10-20 10:35:34 UTC) #5
Adam Rice
4 years, 2 months ago (2016-10-20 10:35:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2432863004/40001
4 years, 2 months ago (2016-10-20 10:36:16 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 11:55:33 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:17:30 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4abae818f5a6e89e539c091819f55d113cf2dc46
Cr-Commit-Position: refs/heads/master@{#426453}

Powered by Google App Engine
This is Rietveld 408576698