|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by yhirano Modified:
4 years, 3 months ago Reviewers:
tyoshino (SeeGerritForStatus) 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 #
Messages
Total messages: 40 (30 generated)
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== [Fetch API] Call endRead sooner to avoid recursive invocation Currently FetchDataConsumerHandle::Reader::endRead is called after ReadableStreamController::enqueue that can trigger another pull operation. This CL removes such recursion by calling endRead before enqueue. BUG=644117 ========== to ========== [Fetch API] Call endRead sooner to avoid recursive invocation Currently FetchDataConsumerHandle::Reader::endRead is called after ReadableStreamController::enqueue that can trigger another pull operation. This CL removes such a recursion by calling endRead before enqueue. BUG=644117 ==========
Description was changed from ========== [Fetch API] Call endRead sooner to avoid recursive invocation Currently FetchDataConsumerHandle::Reader::endRead is called after ReadableStreamController::enqueue that can trigger another pull operation. This CL removes such a recursion by calling endRead before enqueue. BUG=644117 ========== to ========== [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 ==========
yhirano@chromium.org changed reviewers: + tyoshino@chromium.org
lgtm is this happening in a context starting from didGetReadable()? for pull invocation, we have [[pulling]] guard.
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/09/06 06:31:14, tyoshino wrote: > lgtm > > is this happening in a context starting from didGetReadable()? for pull > invocation, we have [[pulling]] guard. Yes. I added a test and fixes a timeout bug. Can you take a look again? Thanks,
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js (right): https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js:42: let body; body no longer need to be declared outside? https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js:44: body = res.body; ah, this line itself is no longer needed.
The CQ bit was checked by yhirano@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js (right): https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... 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 no longer need to be declared outside? Done. https://codereview.chromium.org/2311063003/diff/120001/third_party/WebKit/Lay... third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/stream-reader.js:44: body = res.body; On 2016/09/06 10:58:06, tyoshino wrote: > ah, this line itself is no longer needed. Done.
The CQ bit was unchecked by yhirano@chromium.org
The CQ bit was checked by yhirano@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tyoshino@chromium.org Link to the patchset: https://codereview.chromium.org/2311063003/#ps140001 (title: "fix")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by yhirano@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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 ==========
Message was sent while issue was closed.
Committed patchset #8 (id:140001)
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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} ==========
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/561ffb5dd08c8f4af6d33f1caf0ce66ba38f397d Cr-Commit-Position: refs/heads/master@{#416723} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
