[Bug 21198] New: Removed redundant "closed" readyState checks from a few SourceBuffer algorithms

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21198

            Bug ID: 21198
           Summary: Removed redundant "closed" readyState checks from a
                    few SourceBuffer algorithms
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: acolwell@chromium.org
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 5 March 2013 16:49:45 UTC