[Bug 25518] New: Change SourceBuffer.remove() end parameter to unrestricted double

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

            Bug ID: 25518
           Summary: Change SourceBuffer.remove() end parameter to
                    unrestricted double
           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@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

The end parameter on SourceBuffer.remove() is currently declared as double. I'm
proposing to change this to an unrestricted double so that applications can do
something like sourceBuffer.remove(5, Number.POSITIVE_INFINITY) to remove
everything after 5 seconds. If the end parameter is NaN or NEGATIVE_INFINITY
then remove() will throw an INVALID_ACCESS_ERR.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 30 April 2014 17:34:28 UTC