[Bug 27980] [MSE] Ambiguous behaviour when running sourcebuffer.abort()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27980

--- Comment #7 from Karl Tomlinson <bugs+w3@karlt.net> ---
(In reply to Matt Wolenetz from comment #5)
> 2) Disallow (and issue an exception) any reduction of duration that would
> remove buffered media.

Because duration is floating point, there may be potential for uncertainty in
whether the new duration is less than the end of buffered media or not.

I wonder whether setting the new duration to the maximum of the new duration
and the end of the buffered media may be better than having the setter
potentially throw when aiming to reduce the duration to align with the end of
the buffered media.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 24 August 2015 21:48:40 UTC