[Bug 27790] New: [MSE] Some of the attributes returning TimeRanges objects seem to return a new object each time the getter is invoked

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

            Bug ID: 27790
           Summary: [MSE] Some of the attributes returning TimeRanges
                    objects seem to return a new object each time the
                    getter is invoked
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: bzbarsky@mit.edu
        QA Contact: public-html-bugzilla@w3.org
                CC: d@domenic.me, mike@w3.org, public-html-media@w3.org

For example, the definition of SourceBuffer.buffered says: "Let intersection
ranges equal a TimeRange object containing a single range from 0 to highest end
time."

This seems to create new object each time someone does .buffered.

This is a pretty bizarre behavior.  If we actually want a new object each time,
this should be a method, not an attribute.

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

Received on Friday, 9 January 2015 02:47:50 UTC