Closed
Bug 1123198
Opened 10 years ago
Closed 10 years ago
abort() must call the reset parser state algorithm
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)
1.07 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-SourceBuffer-abort-void
"When this method is invoked, the user agent must run the following steps:
1.If this object has been removed from the sourceBuffers attribute of the parent media source then throw an InvalidStateError exception and abort these steps.
2.If the readyState attribute of the parent media source is not in the "open" state then throw an InvalidStateError exception and abort these steps.
3.If the updating attribute equals true, then run the following steps:
Abort the buffer append and stream append loop algorithms if they are running.
Set the updating attribute to false.
Queue a task to fire a simple event named abort at this SourceBuffer object.
Queue a task to fire a simple event named updateend at this SourceBuffer object.
4.Run the reset parser state algorithm.
5.Set appendWindowStart to the presentation start time.
6.Set appendWindowEnd to positive Infinity.
"
Assignee | ||
Comment 1•10 years ago
|
||
Run Reset Parser State Algorithm when aborting. Currently that routine does nothing (bug 1122358)
Attachment #8551087 -
Flags: review?(cajbir.bugzilla)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Updated•10 years ago
|
Attachment #8551087 -
Flags: review?(cajbir.bugzilla) → review+
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 2•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 4•10 years ago
|
||
Comment on attachment 8551087 [details] [diff] [review]
Run reset parser state algorithm when aborting
Approval Request Comment
[Feature/regressing bug #]: MSE
[User impact if declined]: Less consistent testing.
[Describe test coverage new/current, TreeHerder]: Landed on m-c.
[Risks and why]: This is a one-line fix for a spec compliance issue and MSE-specific.
[String/UUID change made/needed]: None.
Attachment #8551087 -
Flags: approval-mozilla-beta?
Attachment #8551087 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Updated•10 years ago
|
Attachment #8551087 -
Flags: approval-mozilla-beta?
Attachment #8551087 -
Flags: approval-mozilla-beta+
Attachment #8551087 -
Flags: approval-mozilla-aurora?
Attachment #8551087 -
Flags: approval-mozilla-aurora+
Comment 5•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•