DescriptionFix MediaSource.duration setter behavior to match the current spec.
This change fixes non-compliant MSE behavior when the duration is set
to a smaller value. The spec calls for remove() to get called in this
case which wasn't happening before. This causes SourceBuffer.updating
to become true which prevents other operations like endOfStream() from
being allowed until the remove completes. Tests that relied on this
broken behavior have been updated.
BUG=381302
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176373
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 19
Patch Set 3 : Rebase #Patch Set 4 : Address most CR comments. #Patch Set 5 : Rebased and removed SeekSkipPermission enum #Patch Set 6 : Address CR comment. #Patch Set 7 : Fix release build buster #Messages
Total messages: 14 (0 generated)
|