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

Issue 1902673003: Reflect recent spec changes to V8 Extra ReadableStream impl (Closed)

Created:
4 years, 8 months ago by tyoshino (SeeGerritForStatus)
Modified:
4 years, 7 months ago
Reviewers:
domenic, yhirano
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reflect recent spec changes to V8 Extra ReadableStream impl Readable byte stream is not yet implemented in this CL. BUG=503491, 608259 R=domenic,yhirano Committed: https://crrev.com/b2496216b74c6d5872871c933a046340fc1fe7cf Cr-Commit-Position: refs/heads/master@{#392058}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Passes wpt #

Patch Set 4 : Updated bindings #

Patch Set 5 : Fix test #

Patch Set 6 : Some reordering #

Total comments: 20

Patch Set 7 : Addressed #8 #

Patch Set 8 : Updated UnderlyingSourceBase #

Total comments: 14

Patch Set 9 : Addressed #18 #

Total comments: 16

Patch Set 10 : Addressed #20 #

Patch Set 11 : Rebase #

Patch Set 12 : Fixed build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -377 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-strategies.js View 1 2 3 chunks +13 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-underlying-sources.js View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/cancel.js View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/general.js View 1 2 3 4 5 chunks +41 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/streams/resources/rs-test-templates.js View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/streams/resources/test-utils.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStream.js View 1 2 3 4 5 6 7 8 9 10 23 chunks +365 lines, -271 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamController.h View 1 2 3 4 5 6 7 6 chunks +27 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamOperations.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +12 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902673003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902673003/80001
4 years, 7 months ago (2016-04-27 09:02:44 UTC) #2
tyoshino (SeeGerritForStatus)
yhirano: Please review domenic: FYI.
4 years, 7 months ago (2016-04-27 09:39:14 UTC) #6
tyoshino (SeeGerritForStatus)
Forgot to upload ps after some reordering. Please take a look at ps6
4 years, 7 months ago (2016-04-27 10:17:43 UTC) #7
domenic
The change to no longer use null controller needs more work on the C++ side, ...
4 years, 7 months ago (2016-04-27 21:12:24 UTC) #8
tyoshino (SeeGerritForStatus)
On 2016/04/27 21:12:24, domenic wrote: > The change to no longer use null controller needs ...
4 years, 7 months ago (2016-04-28 10:32:49 UTC) #9
tyoshino (SeeGerritForStatus)
Thanks Domenic! https://codereview.chromium.org/1902673003/diff/100001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/1902673003/diff/100001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode28 third_party/WebKit/Source/core/streams/ReadableStream.js:28: const readableStreamBits = v8.createPrivateSymbol('bit field for [[disturbed]]'); ...
4 years, 7 months ago (2016-04-28 14:51:11 UTC) #10
domenic
UnderlyingSourceBase.cpp needs to be updated to do `new ReadableStreamController(controller)` (just a variable name change), and ...
4 years, 7 months ago (2016-04-28 19:13:31 UTC) #11
domenic
On 2016/04/28 at 19:13:31, domenic wrote: > UnderlyingSourceBase.cpp needs to be updated to do `new ...
4 years, 7 months ago (2016-04-28 19:16:15 UTC) #12
tyoshino (SeeGerritForStatus)
On 2016/04/28 19:13:31, domenic wrote: > UnderlyingSourceBase.cpp needs to be updated to do `new > ...
4 years, 7 months ago (2016-05-02 05:43:28 UTC) #14
tyoshino (SeeGerritForStatus)
On 2016/04/28 19:16:15, domenic wrote: > On 2016/04/28 at 19:13:31, domenic wrote: > > UnderlyingSourceBase.cpp ...
4 years, 7 months ago (2016-05-02 05:44:11 UTC) #15
domenic
On 2016/05/02 at 05:43:28, tyoshino wrote: > Hmm, now both the externally controlled one and ...
4 years, 7 months ago (2016-05-02 13:05:02 UTC) #17
yhirano
https://codereview.chromium.org/1902673003/diff/140001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/1902673003/diff/140001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode125 third_party/WebKit/Source/core/streams/ReadableStream.js:125: this[readableStreamBits] = 0b0 | STATE_READABLE; STATE_READBLE << OFFSET? https://codereview.chromium.org/1902673003/diff/140001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode185 ...
4 years, 7 months ago (2016-05-02 13:17:04 UTC) #18
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1902673003/diff/140001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/1902673003/diff/140001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode125 third_party/WebKit/Source/core/streams/ReadableStream.js:125: this[readableStreamBits] = 0b0 | STATE_READABLE; On 2016/05/02 13:17:03, yhirano ...
4 years, 7 months ago (2016-05-06 06:24:57 UTC) #19
yhirano
lgtm https://codereview.chromium.org/1902673003/diff/160001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/1902673003/diff/160001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode378 third_party/WebKit/Source/core/streams/ReadableStream.js:378: return ReadableStreamReaderGenericCancel(this, reason); [optional]: the spec uses ReadableStreamCancel ...
4 years, 7 months ago (2016-05-06 11:26:58 UTC) #20
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1902673003/diff/160001/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/1902673003/diff/160001/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode378 third_party/WebKit/Source/core/streams/ReadableStream.js:378: return ReadableStreamReaderGenericCancel(this, reason); On 2016/05/06 11:26:58, yhirano wrote: > ...
4 years, 7 months ago (2016-05-06 12:40:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902673003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902673003/200001
4 years, 7 months ago (2016-05-06 12:42:53 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/107128)
4 years, 7 months ago (2016-05-06 12:54:29 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902673003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902673003/220001
4 years, 7 months ago (2016-05-06 13:16:29 UTC) #30
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 7 months ago (2016-05-06 15:19:29 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 15:21:09 UTC) #34
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/b2496216b74c6d5872871c933a046340fc1fe7cf
Cr-Commit-Position: refs/heads/master@{#392058}

Powered by Google App Engine
This is Rietveld 408576698