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

Issue 69993003: Split VTTCue from TextTrackCue (Closed)

Created:
7 years, 1 month ago by philipj_slow
Modified:
7 years, 1 month ago
Reviewers:
adamk, eseidel
CC:
blink-reviews, Nils Barth (inactive), nessy, arv+blink, jsbell+bindings_chromium.org, marja+watch_chromium.org, gavinp+loader_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, kojih, haraken, Nate Chapin, vcarbune.chromium, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Split VTTCue from TextTrackCue VTTCue has been split out from TextTrackCue in the specs: http://whatwg.org/html#texttrackcue http://dev.w3.org/html5/webvtt/#vttcue-interface The Opera tests were fixed upstream and re-imported: https://github.com/w3c/web-platform-tests/commit/8c08468d5494c9026c2a857f366c631651c413fd https://github.com/w3c/web-platform-tests/commit/da34397c2c16170da60e5c7638e00c0edadcf0be Don't import the async_test from cues.html since it requires a more recent testharness.js than we have and wouldn't pass anyway: https://github.com/w3c/web-platform-tests/pull/435 The TextTrackCue constructor was removed to verify that the tests work as expected without it. A follow-up commit will bring it back as a temporary alias for VTTCue, to isolate everything that should eventually be removed into a single easy-to-revert package. Internal refactoring has been kept to an absolute minimum, future commits should move more code from TextTrackCue to VTTCue. BUG=270340

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Patch Set 3 : resolve conflicts, update tests #

Patch Set 4 : update test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -608 lines) Patch
M LayoutTests/fast/js/constructor-length.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/js/constructor-length-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrack/addCue.html View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrack/cues.html View 1 2 1 chunk +8 lines, -15 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrack/cues-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrack/removeCue.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/align.html View 1 2 1 chunk +0 lines, -52 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/align-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/endTime.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/getCueAsHTML.html View 1 2 1 chunk +0 lines, -92 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/getCueAsHTML-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/getCueAsHTMLCrash.html View 1 chunk +0 lines, -21 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/getCueAsHTMLCrash-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/id.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/line.html View 1 2 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/line-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/onenter.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/onexit.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/pauseOnExit.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines.html View 1 2 1 chunk +0 lines, -94 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/snapToLines-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/startTime.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/text.html View 1 2 1 chunk +0 lines, -35 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/text-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCue/track.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/vertical.html View 1 2 1 chunk +0 lines, -52 lines 0 comments Download
D LayoutTests/media/track/opera/interfaces/TextTrackCue/vertical-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCueList/getCueById.html View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCueList/getter.html View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/TextTrackCueList/length.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/align.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/align-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/getCueAsHTML.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/getCueAsHTML-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/getCueAsHTMLCrash.html View 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/getCueAsHTMLCrash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/line.html View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/line-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/snapToLines-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/text.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/text-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/media/track/opera/interfaces/VTTCue/vertical.html View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
A LayoutTests/media/track/opera/interfaces/VTTCue/vertical-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/media/track/opera/track/track-element/src-clear-cues.html View 3 chunks +3 lines, -3 lines 0 comments Download
M LayoutTests/media/track/opera/track/webvtt/rendering/reftest/repaint.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-add-remove-cue.html View 5 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/media/track/track-add-remove-cue-expected.txt View 5 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/media/track/track-cue-empty-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-inline-assertion-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-mutable.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-mutable-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-negative-timestamp.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/media/track/track-cue-negative-timestamp-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/media/track/track-cue-rendering-empty-cue-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-rendering-first-line-box.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-cue-rendering-mode-changed.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/media/track/track-cues-cuechange-expected.txt View 3 chunks +3 lines, -3 lines 0 comments Download
M LayoutTests/media/track/track-cues-enter-exit-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/media/track/track-disabled-addcue.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/track/track-remove-active-cue-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/video-controls-captions.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/media/video-controls-captions-multiple-clicks.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/bindings.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A + Source/bindings/v8/custom/V8TextTrackCueCustom.cpp View 1 chunk +12 lines, -6 lines 0 comments Download
M Source/core/core.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/track/InbandTextTrack.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/track/LoadableTextTrack.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/track/TextTrackCue.h View 3 chunks +2 lines, -10 lines 0 comments Download
M Source/core/html/track/TextTrackCue.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/track/TextTrackCue.idl View 1 2 chunks +2 lines, -15 lines 0 comments Download
A + Source/core/html/track/VTTCue.h View 1 chunk +14 lines, -25 lines 0 comments Download
A + Source/core/html/track/VTTCue.cpp View 1 chunk +15 lines, -6 lines 0 comments Download
A + Source/core/html/track/VTTCue.idl View 1 1 chunk +15 lines, -8 lines 0 comments Download
M Source/core/html/track/WebVTTParser.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/track/WebVTTParser.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/TextTrackLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/TextTrackLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
philipj_slow
Part 2 to extend the lifespan of the TextTrackCue constructor is still WIP, but I ...
7 years, 1 month ago (2013-11-12 14:44:05 UTC) #1
gasubic
On 2013/11/12 14:44:05, philipj wrote: > Part 2 to extend the lifespan of the TextTrackCue ...
7 years, 1 month ago (2013-11-12 20:48:43 UTC) #2
philipj_slow
On 2013/11/12 20:48:43, gasubic wrote: > My original thinking was to implement this change without ...
7 years, 1 month ago (2013-11-12 22:24:27 UTC) #3
philipj_slow
Part 2: https://codereview.chromium.org/59623008/
7 years, 1 month ago (2013-11-13 12:42:42 UTC) #4
philipj_slow
7 years, 1 month ago (2013-11-14 08:53:26 UTC) #5

Powered by Google App Engine
This is Rietveld 408576698