This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21198 - Removed redundant "closed" readyState checks from a few SourceBuffer algorithms
Summary: Removed redundant "closed" readyState checks from a few SourceBuffer algorithms
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell (c)
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 16:49 UTC by Aaron Colwell (c)
Modified: 2013-03-05 17:26 UTC (History)
2 users (show)

See Also:


Attachments

Description Aaron Colwell (c) 2013-03-05 16:49:44 UTC
The timestampOffset attribute setter, appendArrayBuffer(), and appendStream() algorithms first check if the 'object has been removed from the sourceBuffers attribute of the parent media source' and then checks if the 'parent media source is in the "closed" state'. This second check will never trigger because on the transition to the "closed" state all SourceBuffer objects are removed from sourceBuffers. This second check should be removed.
Comment 1 Aaron Colwell (c) 2013-03-05 17:26:22 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/dcd406812201