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

Issue 7003131: Adding HTML5 track(caption) test case in PyAuto media functional tests. (Closed)

Created:
9 years, 6 months ago by imasaki1
Modified:
9 years, 6 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, John Grabowski, Paweł Hajdan Jr., Nirnimesh, acolwell GONE FROM CHROMIUM, annacc, dyu1, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), anantha, scherkus (not reviewing)
Visibility:
Public.

Description

Adding HTML5 track(caption test) case in PyAuto media functional tests. The track specification can be found in http://www.w3.org/TR/html5/video.html#the-track-element. This is the first version of the tests so there is no verification yet. -g option is used in the media_test_runner to specify the track(caption) file location. If it is not set, default track file is used (the same location as video and file name is 'title_en.vtt'. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88940

Patch Set 1 #

Patch Set 2 : adding title for video and set default track file. #

Total comments: 34

Patch Set 3 : Modification based on CR comments. #

Patch Set 4 : Add ';' in player.js #

Patch Set 5 : Adding copyright message in player.js #

Patch Set 6 : Add basic media track event test in media functional test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -92 lines) Patch
M chrome/test/data/media/html/media_event.html View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/functional/media/media_event_test_base.py View 1 2 3 4 5 2 chunks +9 lines, -3 lines 0 comments Download
A chrome/test/functional/media/media_event_track.py View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/test/functional/media/media_test_base.py View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/functional/media/media_test_runner.py View 1 2 3 4 5 4 chunks +85 lines, -87 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
imasaki1
Thanks!
9 years, 6 months ago (2011-06-11 02:06:09 UTC) #1
annacc
Thanks Kenji! http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html File chrome/test/data/media/html/media_track.html (right): http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html#newcode2 chrome/test/data/media/html/media_track.html:2: This HTML file contains player a div ...
9 years, 6 months ago (2011-06-13 18:51:36 UTC) #2
Nirnimesh
I have only minor comments. LGTM http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html File chrome/test/data/media/html/media_track.html (right): http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html#newcode32 chrome/test/data/media/html/media_track.html:32: ta.value += tr.track.cues[i].startTime ...
9 years, 6 months ago (2011-06-13 22:07:37 UTC) #3
dennis_jeffrey
LGTM Just a set of minor nits to address before submitting. Thanks! http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html File chrome/test/data/media/html/media_track.html ...
9 years, 6 months ago (2011-06-13 22:51:49 UTC) #4
imasaki1
All issues are addressed. I am going to commit... Thanks. http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html File chrome/test/data/media/html/media_track.html (right): http://codereview.chromium.org/7003131/diff/9/chrome/test/data/media/html/media_track.html#newcode2 ...
9 years, 6 months ago (2011-06-13 23:43:09 UTC) #5
commit-bot: I haz the power
Presubmit check for 7003131-6003 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-13 23:44:26 UTC) #6
commit-bot: I haz the power
Change committed as 88940
9 years, 6 months ago (2011-06-14 01:20:12 UTC) #7
M-A Ruel
9 years, 6 months ago (2011-06-15 12:50:04 UTC) #8
On 2011/06/13 23:44:26, I haz the power (commit-bot) wrote:
> Presubmit check for 7003131-6003 failed and returned exit status 1.
> 
> Running presubmit commit checks ...
> 
> ** Presubmit Messages **
> If this change has an associated bug, add BUG=[bug number].
> 
> ** Presubmit Warnings **
> License must match:
> .*? Copyright \(c\) 2011 The Chromium Authors\. All rights reserved\.\n.*? Use
> of this source code is governed by a BSD-style license that can be\n.*? found
in
> the LICENSE file\.\n
> Found a bad license header in these files:
>   chrome/test/data/media/html/player.js

For the record, the auto-copyright fixer will update the date but for obvious
reasons it won't add a copyright to a file that doesn't have one already.

Powered by Google App Engine
This is Rietveld 408576698