W3C home > Mailing lists > Public > public-html-media@w3.org > April 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 30 Apr 2014 17:34:24 +0000
To: public-html-media@w3.org
Message-ID: <bug-25518-5436@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:03 UTC