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

Issue 2311063003: [Fetch API] Call endRead sooner to avoid recursive invocation (Closed)

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

Description

[Fetch API] Call endRead sooner to avoid recursive invocation Currently FetchDataConsumerHandle::Reader::endRead is called after ReadableStreamController::enqueue that can trigger a pull operation. This CL removes such a recursion by calling endRead before enqueue. BUG=644117 Committed: https://crrev.com/561ffb5dd08c8f4af6d33f1caf0ce66ba38f397d Cr-Commit-Position: refs/heads/master@{#416723}

Patch Set 1 #

Patch Set 2 : done #

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : fix #

Total comments: 4

Patch Set 8 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 40 (30 generated)
yhirano
4 years, 3 months ago (2016-09-06 06:00:40 UTC) #10
tyoshino (SeeGerritForStatus)
lgtm is this happening in a context starting from didGetReadable()? for pull invocation, we have ...
4 years, 3 months ago (2016-09-06 06:31:14 UTC) #11
yhirano
On 2016/09/06 06:31:14, tyoshino wrote: > lgtm > > is this happening in a context ...
4 years, 3 months ago (2016-09-06 09:19:24 UTC) #22
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js (right): https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js#newcode42 third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js:42: let body; body no longer need to be ...
4 years, 3 months ago (2016-09-06 10:58:06 UTC) #25
yhirano
https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js (right): https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js#newcode42 third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js:42: let body; On 2016/09/06 10:58:06, tyoshino wrote: > body ...
4 years, 3 months ago (2016-09-06 11:03:08 UTC) #28
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/2311063003/140001
4 years, 3 months ago (2016-09-06 11:03:35 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/287818)
4 years, 3 months ago (2016-09-06 15:06:31 UTC) #34
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/2311063003/140001
4 years, 3 months ago (2016-09-06 17:42:04 UTC) #36
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-06 20:51:46 UTC) #38
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 20:55:26 UTC) #40
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/561ffb5dd08c8f4af6d33f1caf0ce66ba38f397d
Cr-Commit-Position: refs/heads/master@{#416723}

Powered by Google App Engine
This is Rietveld 408576698