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

Issue 25798003: Enable WebVTT regions for runtime testing, updated tests and minor fixes (Closed)

Created:
7 years, 2 months ago by vcarbune.chromium
Modified:
7 years, 2 months ago
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, Nate Chapin, do-not-use, gavinp+loader_chromium.org, glenn
Visibility:
Public.

Description

Enable WebVTT regions for runtime testing, updated tests and minor fixes This patch removes all the ifdefs surrounding WebVTT regions and enables the feature for testing in RuntimeEnabledFeatures, along with a couple of bug fixes. Tests were rebased wrongly (since the feature wasn't build by default), so I updated the -expected and added two others that refer to the display of regions and update TestExpectations to not skip these anymore. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159784

Patch Set 1 #

Patch Set 2 : Revert Logging #

Total comments: 20

Patch Set 3 : Addressed comments #

Patch Set 4 : Rebased #

Total comments: 4

Patch Set 5 : Fixed one check and nits #

Patch Set 6 : Minor fix #

Patch Set 7 : Build fix #

Patch Set 8 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+472 lines, -150 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
A LayoutTests/media/track/captions-webvtt/captions-regions.vtt View 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute-expected.txt View 1 chunk +13 lines, -1 line 0 comments Download
M LayoutTests/media/track/regions-webvtt/text-track-region-constructor-expected.txt View 1 chunk +116 lines, -1 line 0 comments Download
A LayoutTests/media/track/regions-webvtt/text-track-region-display.html View 1 chunk +108 lines, -0 lines 0 comments Download
A LayoutTests/media/track/regions-webvtt/text-track-region-display-expected.txt View 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout.html View 1 chunk +64 lines, -0 lines 0 comments Download
A LayoutTests/media/track/regions-webvtt/text-track-region-dom-layout-expected.txt View 1 chunk +19 lines, -0 lines 0 comments Download
M LayoutTests/media/track/regions-webvtt/text-track-region-list-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/regions-webvtt/text-track-region-parser-expected.txt View 1 chunk +24 lines, -1 line 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 1 2 3 4 3 chunks +5 lines, -8 lines 0 comments Download
M Source/core/html/track/LoadableTextTrack.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/track/LoadableTextTrack.cpp View 1 2 3 4 3 chunks +1 line, -4 lines 0 comments Download
M Source/core/html/track/TextTrack.h View 1 2 3 4 3 chunks +0 lines, -9 lines 0 comments Download
M Source/core/html/track/TextTrack.cpp View 1 2 3 4 6 chunks +2 lines, -13 lines 0 comments Download
M Source/core/html/track/TextTrack.idl View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/html/track/TextTrackCue.h View 1 2 3 4 3 chunks +2 lines, -6 lines 0 comments Download
M Source/core/html/track/TextTrackCue.cpp View 1 2 3 4 5 11 chunks +15 lines, -20 lines 0 comments Download
M Source/core/html/track/TextTrackCue.idl View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackRegion.h View 1 2 3 4 5 5 chunks +2 lines, -12 lines 0 comments Download
M Source/core/html/track/TextTrackRegion.cpp View 1 2 3 4 5 6 7 chunks +6 lines, -9 lines 0 comments Download
M Source/core/html/track/TextTrackRegion.idl View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackRegionList.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/html/track/TextTrackRegionList.cpp View 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/html/track/TextTrackRegionList.idl View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/track/WebVTTParser.h View 1 2 3 4 6 chunks +2 lines, -14 lines 0 comments Download
M Source/core/html/track/WebVTTParser.cpp View 1 2 3 4 10 chunks +4 lines, -18 lines 0 comments Download
M Source/core/loader/TextTrackLoader.h View 1 2 3 4 3 chunks +0 lines, -6 lines 0 comments Download
M Source/core/loader/TextTrackLoader.cpp View 1 2 3 4 2 chunks +0 lines, -4 lines 0 comments Download
M Source/core/page/RuntimeEnabledFeatures.in View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderTextTrackCue.cpp View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
vcarbune.chromium
Adding WebVTT Regions to status=test
7 years, 2 months ago (2013-10-04 10:03:31 UTC) #1
acolwell GONE FROM CHROMIUM
looks pretty good. In general, I'd like to minimize the number of runtime flag checks. ...
7 years, 2 months ago (2013-10-04 19:48:20 UTC) #2
philipj_slow
I'm happy to see this behind a flag. I was rather skeptical of this feature ...
7 years, 2 months ago (2013-10-07 09:09:00 UTC) #3
nessy
On 2013/10/07 09:09:00, philipj wrote: > I'm happy to see this behind a flag. I ...
7 years, 2 months ago (2013-10-07 12:43:37 UTC) #4
vcarbune.chromium
https://codereview.chromium.org/25798003/diff/3001/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/25798003/diff/3001/Source/core/html/shadow/MediaControlElements.cpp#newcode745 Source/core/html/shadow/MediaControlElements.cpp:745: if (!RuntimeEnabledFeatures::webVTTRegionsEnabled() || !region) { On 2013/10/04 19:48:20, acolwell ...
7 years, 2 months ago (2013-10-08 18:07:38 UTC) #5
vcarbune.chromium
On 2013/10/07 09:09:00, philipj wrote: > I'm happy to see this behind a flag. I ...
7 years, 2 months ago (2013-10-08 18:11:09 UTC) #6
acolwell GONE FROM CHROMIUM
lgtm % nits https://codereview.chromium.org/25798003/diff/29001/Source/core/html/track/LoadableTextTrack.cpp File Source/core/html/track/LoadableTextTrack.cpp (right): https://codereview.chromium.org/25798003/diff/29001/Source/core/html/track/LoadableTextTrack.cpp#newcode29 Source/core/html/track/LoadableTextTrack.cpp:29: #include "RuntimeEnabledFeatures.h" nit: Not needed. https://codereview.chromium.org/25798003/diff/29001/Source/core/rendering/RenderTextTrackCue.cpp ...
7 years, 2 months ago (2013-10-08 22:09:05 UTC) #7
vcarbune.chromium
Thank you, Aaron, for the review! Pending OWNER review now, Adam, maybe you can take ...
7 years, 2 months ago (2013-10-12 22:33:54 UTC) #8
adamk
I'm not in the RuntimeEnabledFeatures OWNERS, adding eseidel
7 years, 2 months ago (2013-10-14 17:08:01 UTC) #9
eseidel1
Lgtm on the REF changes.
7 years, 2 months ago (2013-10-14 17:11:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vcarbune@chromium.org/25798003/45001
7 years, 2 months ago (2013-10-14 17:14:39 UTC) #11
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=8803
7 years, 2 months ago (2013-10-14 17:31:43 UTC) #12
vcarbune.chromium
On 2013/10/14 17:11:52, eseidel1 wrote: > Lgtm on the REF changes. I seem to still ...
7 years, 2 months ago (2013-10-14 21:45:39 UTC) #13
eseidel
lgtm on REF changes. I suspect it may also have been a CQ outage from ...
7 years, 2 months ago (2013-10-15 22:20:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vcarbune@chromium.org/25798003/57001
7 years, 2 months ago (2013-10-16 11:58:44 UTC) #15
commit-bot: I haz the power
7 years, 2 months ago (2013-10-16 16:19:06 UTC) #16
Message was sent while issue was closed.
Change committed as 159784

Powered by Google App Engine
This is Rietveld 408576698