Closed
Bug 1123202
Opened 9 years ago
Closed 9 years ago
Call to removeSourceBuffer should abort pending buffer append
Categories
(Core :: Audio/Video, defect, P2)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.64 KB,
patch
|
cajbir
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Per spec: http://w3c.github.io/media-source/#widl-MediaSource-removeSourceBuffer-void-SourceBuffer-sourceBuffer "When this method is invoked, the user agent must run the following steps: 1.If sourceBuffer specifies an object that is not in sourceBuffers then throw a NotFoundError exception and abort these steps. 2.If the sourceBuffer.updating attribute equals true, then run the following steps: 1.Abort the buffer append and stream append loop algorithms if they are running. 2.Set the sourceBuffer.updating attribute to false. 3.Queue a task to fire a simple event named abort at sourceBuffer. 4.Queue a task to fire a simple event named updateend at sourceBuffer. " Currently it does nothing.
Updated•9 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•9 years ago
|
||
properly issue abort/updateend when a source buffer is removed.
Attachment #8553001 -
Flags: review?(cajbir.bugzilla)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8553001 [details] [diff] [review] Execute abort() when detaching source buffer Review of attachment 8553001 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/media/mediasource/SourceBuffer.h @@ +78,5 @@ > void AppendBuffer(const ArrayBuffer& aData, ErrorResult& aRv); > void AppendBuffer(const ArrayBufferView& aData, ErrorResult& aRv); > > void Abort(ErrorResult& aRv); > + void Abort(); Add comment differentiating this from the Abort function above it.
Attachment #8553001 -
Flags: review?(cajbir.bugzilla) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1efd2c0dfbb4
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1efd2c0dfbb4
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 5•9 years ago
|
||
Comment on attachment 8553001 [details] [diff] [review] Execute abort() when detaching source buffer Approval Request Comment [Feature/regressing bug #]: MSE [User impact if declined]: Less consistent testing. Sites more likely to serve flash video. [Describe test coverage new/current, TreeHerder]: Landed on m-c. [Risks and why]: This is an MSE-specific change for spec compliance. Risk is low. [String/UUID change made/needed]: None.
Attachment #8553001 -
Flags: approval-mozilla-beta?
Attachment #8553001 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Updated•9 years ago
|
Attachment #8553001 -
Flags: approval-mozilla-beta?
Attachment #8553001 -
Flags: approval-mozilla-beta+
Attachment #8553001 -
Flags: approval-mozilla-aurora?
Attachment #8553001 -
Flags: approval-mozilla-aurora+
Comment 6•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/f60d058bf105 https://hg.mozilla.org/releases/mozilla-beta/rev/d52554d9a8f0
Assignee | ||
Comment 7•9 years ago
|
||
There's another place that I had missed
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•9 years ago
|
||
Spawned into bug 1128115. This patch actually fixed SourceBufferList.Remove rather than MediaSource.removeSourceBuffer.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•