|
|
Created:
6 years, 3 months ago by qinmin Modified:
6 years, 3 months ago Reviewers:
DaleCurtis CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow, eric.carlson_apple.com Base URL:
svn://svn.chromium.org/blink/trunk Project:
blink Visibility:
Public. |
DescriptionLayout test to test that video should not be in a paused state while looping
TEST=this!
BUG=415651
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182519
Patch Set 1 #Patch Set 2 : remove test expectation and use testharness.js #
Total comments: 6
Patch Set 3 : addressing comments #
Total comments: 2
Patch Set 4 : removing seeking position check #Patch Set 5 : add test expectations due to Logs in waitForEventAndRunStep() call #
Messages
Total messages: 26 (12 generated)
qinmin@chromium.org changed reviewers: + dalecurtis@chromium.org
PTAL
Please write this test using testharness.js, here's one I'm working on currently: https://codereview.chromium.org/544173012/ Note that no expectation file is required.
Patchset #2 (id:20001) has been deleted
Patchset #2 (id:40001) has been deleted
On 2014/09/18 18:16:27, DaleCurtis wrote: > Please write this test using testharness.js, here's one I'm working on > currently: > > https://codereview.chromium.org/544173012/ > > Note that no expectation file is required. Done, switched to testharness.js
https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... File LayoutTests/media/video-not-paused-while-looping.html (right): https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:10: var video = document.querySelector('video'); Note two spaces is okay per the style guide, but up to you. https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:29: video.onloadeddata = test.step_func(function() { Be consistent about {} placement. I prefer this style versus what you have above, but the style guide says its up to you. https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:29: video.onloadeddata = test.step_func(function() { Move this above setting .src or you have a race.
https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... File LayoutTests/media/video-not-paused-while-looping.html (right): https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:10: var video = document.querySelector('video'); On 2014/09/18 19:44:47, DaleCurtis wrote: > Note two spaces is okay per the style guide, but up to you. Done. https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:29: video.onloadeddata = test.step_func(function() { On 2014/09/18 19:44:47, DaleCurtis wrote: > Move this above setting .src or you have a race. Done. https://codereview.chromium.org/585563003/diff/60001/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:29: video.onloadeddata = test.step_func(function() { On 2014/09/18 19:44:47, DaleCurtis wrote: > Be consistent about {} placement. I prefer this style versus what you have > above, but the style guide says its up to you. Done.
lgtm https://codereview.chromium.org/585563003/diff/20002/LayoutTests/media/video-... File LayoutTests/media/video-not-paused-while-looping.html (right): https://codereview.chromium.org/585563003/diff/20002/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:22: assert_equals(video.currentTime, 0, 'currentTime'); Hmm, this seems like it could be fragile. I'd just check the paused state.
https://codereview.chromium.org/585563003/diff/20002/LayoutTests/media/video-... File LayoutTests/media/video-not-paused-while-looping.html (right): https://codereview.chromium.org/585563003/diff/20002/LayoutTests/media/video-... LayoutTests/media/video-not-paused-while-looping.html:22: assert_equals(video.currentTime, 0, 'currentTime'); On 2014/09/19 01:02:36, DaleCurtis wrote: > Hmm, this seems like it could be fragile. I'd just check the paused state. Done.
The CQ bit was checked by qinmin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585563003/90001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/27913)
The CQ bit was checked by qinmin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585563003/90001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/27980)
Patchset #5 (id:110001) has been deleted
Patchset #5 (id:130001) has been deleted
The CQ bit was checked by qinmin@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Exceeded time limit waiting for builds to trigger.
The CQ bit was checked by qinmin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585563003/150001
Message was sent while issue was closed.
Committed patchset #5 (id:150001) as 182519 |