SourceBuffer.buffered should only return a new object when the buffered time ranges change

RESOLVED DUPLICATE of bug 1150305

Status

()

Core
Audio/Video: Playback
RESOLVED DUPLICATE of bug 1150305
4 years ago
5 days ago

People

(Reporter: bz, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

See spec change at https://github.com/w3c/media-source/commit/7a495fe29540835d0e219d3d52f3041f556a1f7d

We can keep returning a new object every time and just mark the attribute as [Cached], clearing the cache whenever the thing changes.
I have implemented buffered range cache in bug 1125581.

which does exactly that (it's still a new object, but with the same content)
That's quite different from what this bug is about.  This bug is about when the calling JS sees object identity change.  It should only see it change when the actual time range data changes.
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Last Resolved: 6 days ago
Resolution: --- → INACTIVE
This is a spec bug.  We do in fact need to fix this.
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Yes, looks like it.  Thank you for the pointer.
Status: REOPENED → RESOLVED
Last Resolved: 6 days ago5 days ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1150305
You need to log in before you can comment on or make changes to this bug.