|
|
Chromium Code Reviews
DescriptionHandle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl.
This patch https://codereview.chromium.org/2363963002 changed
WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is
zero.
But the patch didn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result.
This method reutrns "UnexpectedError" but it should return "ShouldWait".
BUG=649558
Review-Url: https://codereview.chromium.org/2639873002
Cr-Commit-Position: refs/heads/master@{#444644}
Committed: https://chromium.googlesource.com/chromium/src/+/b8ea98da1ed38f6508a0b0c9928bc747e20c1731
Patch Set 1 #
Total comments: 2
Patch Set 2 : add NOTREACHED() #
Dependent Patchsets: Messages
Total messages: 29 (21 generated)
horo@chromium.org changed reviewers: + yhirano@chromium.org
yhirano@ Could you please review this?
Description was changed from ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch doesn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns UnexpectedError but it should return "ShouldWait". BUG=649558 ========== to ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch doesn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns "UnexpectedError" but it should return "ShouldWait". BUG=649558 ==========
The CQ bit was checked by horo@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.
Thanks! https://codereview.chromium.org/2639873002/diff/1/content/child/web_data_cons... File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/2639873002/diff/1/content/child/web_data_cons... content/child/web_data_consumer_handle_impl.cc:74: return UnexpectedError; NOTREACHED() according to https://cs.chromium.org/chromium/src/mojo/public/c/system/functions.h?q=MOJO_... ?
Thank you https://codereview.chromium.org/2639873002/diff/1/content/child/web_data_cons... File content/child/web_data_consumer_handle_impl.cc (right): https://codereview.chromium.org/2639873002/diff/1/content/child/web_data_cons... content/child/web_data_consumer_handle_impl.cc:74: return UnexpectedError; On 2017/01/18 08:34:21, yhirano wrote: > NOTREACHED() according to > https://cs.chromium.org/chromium/src/mojo/public/c/system/functions.h?q=MOJO_... > ? Done.
The CQ bit was checked by horo@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 ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch doesn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns "UnexpectedError" but it should return "ShouldWait". BUG=649558 ========== to ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch didn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns "UnexpectedError" but it should return "ShouldWait". BUG=649558 ==========
The CQ bit was checked by horo@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...
Patchset #3 (id:40001) has been deleted
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
horo@chromium.org changed reviewers: + kinuko@chromium.org
kinuko@ Could you please review this?
lgtm
The CQ bit was checked by horo@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20001, "attempt_start_ts": 1484800804522060,
"parent_rev": "0e85e9249f98fdfe2bcff21d4721526600409848", "commit_rev":
"b8ea98da1ed38f6508a0b0c9928bc747e20c1731"}
Message was sent while issue was closed.
Description was changed from ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch didn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns "UnexpectedError" but it should return "ShouldWait". BUG=649558 ========== to ========== Handle correctly "ShouldWait" result of mojo::Wait() in WebDataConsumerHandleImpl. This patch https://codereview.chromium.org/2363963002 changed WebDataConsumerHandleImpl::ReaderImpl::read() to use mojo::Wait() when |size| is zero. But the patch didn't correctly handle MOJO_RESULT_DEADLINE_EXCEEDED result. This method reutrns "UnexpectedError" but it should return "ShouldWait". BUG=649558 Review-Url: https://codereview.chromium.org/2639873002 Cr-Commit-Position: refs/heads/master@{#444644} Committed: https://chromium.googlesource.com/chromium/src/+/b8ea98da1ed38f6508a0b0c9928b... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/b8ea98da1ed38f6508a0b0c9928b... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
