Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Issue 2121613002: Convert video-controls-[captions, overlay, track]* tests to testharness.js (Closed)

Created:
4 years, 5 months ago by Srirama
Modified:
4 years, 5 months ago
Reviewers:
fs, foolip
CC:
blink-reviews, chromium-reviews, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert video-controls-[captions, overlay, track]* tests to testharness.js Cleaning up video-controls-[captions, overlay, track]* tests in media/ to use testharness.js instead of video-test.js. This will enable to upstream these tests to web-platform-tests. BUG=588956 Committed: https://crrev.com/bb48314aaf3f1e4353cf70411dd969383f2f5c0b Cr-Commit-Position: refs/heads/master@{#403890}

Patch Set 1 : fix #

Total comments: 16

Patch Set 2 : address comments #

Total comments: 6

Patch Set 3 : address philip's comments #

Total comments: 15

Patch Set 4 : Use EventWatcher for better readability and address other comments #

Total comments: 2

Patch Set 5 : address nit #

Messages

Total messages: 27 (9 generated)
Srirama
PTAL https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions.html File third_party/WebKit/LayoutTests/media/video-controls-captions.html (right): https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions.html#newcode21 third_party/WebKit/LayoutTests/media/video-controls-captions.html:21: assert_throws(null, function() { This is for "text track ...
4 years, 5 months ago (2016-07-04 07:56:56 UTC) #6
fs
lgtm https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html File third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html (right): https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html#newcode40 third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html:40: function checkCaptionsDisplay(captionsVisible) { Could probably also be split ...
4 years, 5 months ago (2016-07-04 08:46:56 UTC) #7
foolip
https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions.html File third_party/WebKit/LayoutTests/media/video-controls-captions.html (right): https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions.html#newcode21 third_party/WebKit/LayoutTests/media/video-controls-captions.html:21: assert_throws(null, function() { On 2016/07/04 07:56:56, Srirama wrote: > ...
4 years, 5 months ago (2016-07-04 08:49:32 UTC) #8
Srirama
https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html File third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html (right): https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html#newcode40 third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html:40: function checkCaptionsDisplay(captionsVisible) { On 2016/07/04 08:46:55, fs wrote: > ...
4 years, 5 months ago (2016-07-04 13:00:23 UTC) #9
Srirama
On 2016/07/04 13:00:23, Srirama wrote: > https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html > File third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html > (right): > > https://codereview.chromium.org/2121613002/diff/40001/third_party/WebKit/LayoutTests/media/video-controls-captions-on-off.html#newcode40 ...
4 years, 5 months ago (2016-07-05 12:58:08 UTC) #10
foolip
https://codereview.chromium.org/2121613002/diff/60001/third_party/WebKit/LayoutTests/media/media-controls.js File third_party/WebKit/LayoutTests/media/media-controls.js (right): https://codereview.chromium.org/2121613002/diff/60001/third_party/WebKit/LayoutTests/media/media-controls.js#newcode76 third_party/WebKit/LayoutTests/media/media-controls.js:76: function textTrackCueElementById(parentElement, id) { It looks like you're only ...
4 years, 5 months ago (2016-07-05 13:37:00 UTC) #11
Srirama
https://codereview.chromium.org/2121613002/diff/60001/third_party/WebKit/LayoutTests/media/media-controls.js File third_party/WebKit/LayoutTests/media/media-controls.js (right): https://codereview.chromium.org/2121613002/diff/60001/third_party/WebKit/LayoutTests/media/media-controls.js#newcode76 third_party/WebKit/LayoutTests/media/media-controls.js:76: function textTrackCueElementById(parentElement, id) { On 2016/07/05 13:37:00, Philip Jägenstedt ...
4 years, 5 months ago (2016-07-05 18:33:28 UTC) #12
foolip
https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/media-controls.js File third_party/WebKit/LayoutTests/media/media-controls.js (right): https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/media-controls.js#newcode83 third_party/WebKit/LayoutTests/media/media-controls.js:83: var displayElement = mediaControlsElement(containerElement.firstChild, "-webkit-media-text-track-display"); Can this just call ...
4 years, 5 months ago (2016-07-06 10:00:47 UTC) #13
Srirama
https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html File third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html (right): https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html#newcode21 third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html:21: video.onloadeddata = null; On 2016/07/06 10:00:47, Philip Jägenstedt wrote: ...
4 years, 5 months ago (2016-07-06 10:53:19 UTC) #14
foolip
https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html File third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html (right): https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html#newcode21 third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html:21: video.onloadeddata = null; On 2016/07/06 10:53:18, Srirama wrote: > ...
4 years, 5 months ago (2016-07-06 11:09:18 UTC) #15
fs
https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html File third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html (right): https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html#newcode21 third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html:21: video.onloadeddata = null; On 2016/07/06 at 10:53:18, Srirama wrote: ...
4 years, 5 months ago (2016-07-06 11:11:53 UTC) #16
Srirama
https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/media-controls.js File third_party/WebKit/LayoutTests/media/media-controls.js (right): https://codereview.chromium.org/2121613002/diff/80001/third_party/WebKit/LayoutTests/media/media-controls.js#newcode83 third_party/WebKit/LayoutTests/media/media-controls.js:83: var displayElement = mediaControlsElement(containerElement.firstChild, "-webkit-media-text-track-display"); On 2016/07/06 10:00:47, Philip ...
4 years, 5 months ago (2016-07-06 11:35:49 UTC) #17
foolip
lgtm % </body> https://codereview.chromium.org/2121613002/diff/100001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html File third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html (right): https://codereview.chromium.org/2121613002/diff/100001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html#newcode7 third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html:7: <body></body> Closing the body has no ...
4 years, 5 months ago (2016-07-06 11:39:41 UTC) #18
Srirama
https://codereview.chromium.org/2121613002/diff/100001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html File third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html (right): https://codereview.chromium.org/2121613002/diff/100001/third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html#newcode7 third_party/WebKit/LayoutTests/media/video-controls-overlay-play-button.html:7: <body></body> On 2016/07/06 11:39:41, Philip Jägenstedt wrote: > Closing ...
4 years, 5 months ago (2016-07-06 11:42:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2121613002/120001
4 years, 5 months ago (2016-07-06 11:42:55 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 5 months ago (2016-07-06 12:58:04 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 12:58:06 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 12:59:49 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bb48314aaf3f1e4353cf70411dd969383f2f5c0b
Cr-Commit-Position: refs/heads/master@{#403890}

Powered by Google App Engine
This is Rietveld 408576698