Closed Bug 1131134 Opened 9 years ago Closed 6 years ago

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

Categories

(Core :: Audio/Video: Playback, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1150305

People

(Reporter: bzbarsky, Unassigned)

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
Closed: 6 years 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
Closed: 6 years ago6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.