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 25518 - Change SourceBuffer.remove() end parameter to unrestricted double
Summary: Change SourceBuffer.remove() end parameter to unrestricted double
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: CR
Assignee: Adrian Bateman [MSFT]
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 17:34 UTC by Aaron Colwell
Modified: 2014-05-20 18:17 UTC (History)
2 users (show)

See Also:


Attachments

Description Aaron Colwell 2014-04-30 17:34:24 UTC
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.
Comment 1 Aaron Colwell 2014-05-20 18:17:44 UTC
Changes committed
https://dvcs.w3.org/hg/html-media/rev/3e8dfccbfded