|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by hubbe Modified:
4 years, 1 month ago Reviewers:
chcunningham CC:
chromium-reviews, feature-media-reviews_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMake sure we get at least one progress callback
When media is already cached, we don't get any progress callbacks,
which confuse clients. Make sure we get at least one progress
callback.
This CL is an update of cr/2437273002, which solves a similiar problem.
BUG=657922, 658950
Committed: https://crrev.com/0c2a4c4bbc9abafc57dfc3dd919ffff1e23fd664
Cr-Commit-Position: refs/heads/master@{#428773}
Patch Set 1 #Patch Set 2 : only report progress if there is progress to report #Patch Set 3 : fix tests #
Total comments: 3
Messages
Total messages: 28 (19 generated)
The CQ bit was checked by hubbe@chromium.org to run a CQ dry run
hubbe@chromium.org changed reviewers: + chcunningham@chromium.org
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: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
Thanks Hubbe LGTM
The CQ bit was checked by hubbe@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: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by hubbe@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...
Turns out I broke a bunch of tests. This modified version should work better. PTAL.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by hubbe@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: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... media/blink/multibuffer_data_source.cc:525: if (assume_fully_buffered()) The tests in the bug have both been http://, but I think the expectations around progress/loading events are the same even for local files. I'm worried this early return is bad for the local case.
https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... media/blink/multibuffer_data_source.cc:525: if (assume_fully_buffered()) On 2016/10/28 17:53:52, chcunningham wrote: > The tests in the bug have both been http://, but I think the expectations around > progress/loading events are the same even for local files. I'm worried this > early return is bad for the local case. I'm not entirely sure why we do this, but it's been like this since before multibuffers. It might be worth noticing that we never even transition into the "loading" state for local resources. However, we might need to add layout tests that runs on local files to make sure that WMPI behaves properly when it gets no loading or progress callbacks.
lgtm https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... File media/blink/multibuffer_data_source.cc (right): https://codereview.chromium.org/2445993003/diff/40001/media/blink/multibuffer... media/blink/multibuffer_data_source.cc:525: if (assume_fully_buffered()) On 2016/10/31 17:25:17, hubbe wrote: > On 2016/10/28 17:53:52, chcunningham wrote: > > The tests in the bug have both been http://, but I think the expectations > around > > progress/loading events are the same even for local files. I'm worried this > > early return is bad for the local case. > > I'm not entirely sure why we do this, but it's been like this since before > multibuffers. It might be worth noticing that we never even > transition into the "loading" state for local resources. However, we might need > to add layout tests that runs on local files to make sure that WMPI behaves > properly when it gets no loading or progress callbacks. Acknowledged.
The CQ bit was checked by hubbe@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.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Make sure we get at least one progress callback When media is already cached, we don't get any progress callbacks, which confuse clients. Make sure we get at least one progress callback. This CL is an update of cr/2437273002, which solves a similiar problem. BUG=657922, 658950 ========== to ========== Make sure we get at least one progress callback When media is already cached, we don't get any progress callbacks, which confuse clients. Make sure we get at least one progress callback. This CL is an update of cr/2437273002, which solves a similiar problem. BUG=657922, 658950 Committed: https://crrev.com/0c2a4c4bbc9abafc57dfc3dd919ffff1e23fd664 Cr-Commit-Position: refs/heads/master@{#428773} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/0c2a4c4bbc9abafc57dfc3dd919ffff1e23fd664 Cr-Commit-Position: refs/heads/master@{#428773} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
