DescriptionRemove mode-transition in TextTrack::setKind
This mode-transition gives rise to inconsistent state-updates, and isn't
specified [1]. Remove it, and with it the setKind override.
Also move all the mutators to TextTrack since that's the only type of
track where these fields can be mutated (and only if sourced via a
HTMLTrackElement.)
[1] https://html.spec.whatwg.org/multipage/embedded-content.html#attr-track-kind
BUG=460923, 608772
Committed: https://crrev.com/aea239459e30190050f8897b6e5b2b9856d2de4f
Cr-Commit-Position: refs/heads/master@{#394122}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|