[Bug 27790] [MSE] Some of the attributes returning TimeRanges objects seem to return a new object each time the getter is invoked

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

Aaron Colwell <acolwell@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |acolwell@google.com
           Assignee|adrianba@microsoft.com      |acolwell@google.com
   Target Milestone|---                         |CR

--- Comment #6 from Aaron Colwell <acolwell@google.com> ---
I'm fine with changing SourceBuffer.buffered to return the same object all the
time. Technically these values can only change as part of the "Coded Frame
Removal" and "Coded Frame Processing" algorithms.

I'm assuming that you want the value to be stable as long as webapp Javascript
is executing. Is this usually handled by using language like "post a task to
update the buffered attribute with the contents of intersection_ranges"? If
not, could you point me at a good example in other specs.


The spec text that describes always creating a new object for access
HTMLMediaElement.buffered probably needs to remain though so that the behavior
is consistent with non-MSE playback.

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

Received on Friday, 9 January 2015 19:52:34 UTC