|
|
Chromium Code Reviews|
Created:
3 years, 7 months ago by George Joseph Modified:
3 years, 4 months ago CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, nessy Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionA video tag should play content src is set asynchronously with preload is disabled.
On a video tag, when preload is set to none, if play() has been
called and a src has not been set, the video tag should play
content when the src is set later asynchronously.
BUG=633591
Patch Set 1 #Patch Set 2 : A video tag should play content src is set asynchronously with preload is disabled. #
Total comments: 4
Patch Set 3 : A video tag should play content when src is set asynchronously ,while preload is disabled. #
Messages
Total messages: 31 (14 generated)
kottackal.george@gmail.com changed reviewers: + mlamouri@chromium.org
Hello Mlamouri, I did a quick fix of this issue.With this patch , chrome's behavior would match Firefox behavior. Do review and let me know your thoughts. Thanks, George.
mlamouri@chromium.org changed reviewers: + foolip@chromium.org
Thanks for the CL George. Before adding more states to HTMLMediaElement, I would like to make sure we are actually fixing a bug and not implementing a bug that Edge and Firefox have. +foolip@ in case of he has some insights. Let's discuss details in the bug.
Commented on the bug, although this workaround probably works, it's adding more state that'd be nice to avoid. Let's discuss on the bug. Starting a dry run anyway to see if this would regress anything.
The CQ bit was checked by foolip@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: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2017/05/30 10:41:27, foolip wrote: > Commented on the bug, although this workaround probably works, it's adding more > state that'd be nice to avoid. Let's discuss on the bug. Starting a dry run > anyway to see if this would regress anything. Hello foolip and mlamouri, I have updated the patch and added a test. All the tests should now pass. Please do review and let me know your thoughts. Thanks.
I'll be OOO for the rest of the week and maybe Monday and won't be able to give this the attention it deserved. Removing self as reviewer to make that clear.
foolip@chromium.org changed reviewers: - foolip@chromium.org
On 2017/06/07 10:03:17, foolip wrote: Hello mlamouri, Any thought about this patch? Thanks, George.
kottackal.george@gmail.com changed reviewers: + foolip@chromium.org
Hello mlamouri and foolip, Apologies for asking again. Would you have any thoughts about this patch. Thanks.
foolip@chromium.org changed reviewers: - foolip@chromium.org
Removing self as reviewer again to make clear that I won't have time to look into this properly. Srirama might be able to review, I don't know.
kottackal.george@gmail.com changed reviewers: + srirama.m@samsung.com
Have you though of avoiding the extra state we are introducing here as mentioned by foolip@? Starting trybot to see the results on new patch. https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html (right): https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html:8: var testobject = async_test(function(t) { you can remove var testobject. https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html:12: video.onplaying = t.step_func(function() {t.done()}); use t_step_func_done();
The CQ bit was checked by srirama.m@samsung.com 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.
Hello Srirama, Thanks for reviewing the commit. I have made the changes as you have suggested. Please do review. I did try not using a boolean - however, this means checking a combination of states in the other variables - I did not have much luck with this. Do let me know your feedback, Thanks, George. https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... File third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html (right): https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html:8: var testobject = async_test(function(t) { On 2017/07/07 09:59:27, Srirama wrote: > you can remove var testobject. Done. https://codereview.chromium.org/2910683003/diff/20001/third_party/WebKit/Layo... third_party/WebKit/LayoutTests/media/video-play-when-src-set-asynchronously.html:12: video.onplaying = t.step_func(function() {t.done()}); On 2017/07/07 09:59:28, Srirama wrote: > use t_step_func_done(); Done.
Hello Srirama, Thanks for reviewing the commit. I have made the changes as you have suggested. Please do review. I did try not using a boolean - however, this means checking a combination of states in the other variables - I did not have much luck with this. Do let me know your feedback, Thanks, George.
On 2017/07/10 06:58:46, George Joseph wrote: > Hello Srirama, > Thanks for reviewing the commit. I have made the changes as you have > suggested. Please do review. I did try not using a boolean - however, this means > checking a combination of states in the other variables - I did not have much > luck with this. > > Do let me know your feedback, > > Thanks, > George. As discussed in the bug, the work on microtask changes have some dependency and i don't think that will be done anytime soon. So i am ok to land this change for now. @Mounir, WDYT?
On 2017/07/10 07:03:49, Srirama wrote: > On 2017/07/10 06:58:46, George Joseph wrote: > > Hello Srirama, > > Thanks for reviewing the commit. I have made the changes as you have > > suggested. Please do review. I did try not using a boolean - however, this > means > > checking a combination of states in the other variables - I did not have much > > luck with this. > > > > Do let me know your feedback, > > > > Thanks, > > George. > > As discussed in the bug, the work on microtask changes have some dependency and > i don't think that will be done anytime soon. > So i am ok to land this change for now. > > @Mounir, WDYT? Hello Sriaram and Mounir, Any luck with reviewing this issue. Do let me know your thoughts. Thanks,
@Mounir, Please have a look at it. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
