DescriptionUpdate a cue's insertion order when reinserting it with addCue()
TextTrack.addCue is specified to always remove the cue from any list it
currently resides in, but the implementation would only do that if it
was currently in a different track's list.
Also update spec. prose snippets and merge the two exception-conditions
in the removeCue-implementation. The "!m_cues || !m_cues->remove(cue)"
part should never be true unless state has been corrupted, and the spec.
only says to throw NotFoundError in any case.
BUG=460476
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190655
Patch Set 1 #
Total comments: 2
Messages
Total messages: 9 (2 generated)
|