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 21953 - AppendWindowEnd can accept NaN as value
Summary: AppendWindowEnd can accept NaN as value
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 18:15 UTC by Jerry Smith
Modified: 2013-05-14 10:24 UTC (History)
4 users (show)

See Also:


Attachments

Description Jerry Smith 2013-05-07 18:15:49 UTC
Problem Description:  AppendWindowEnd is type Unrestricted Double so can accept NaN as a value.  No response to setting as NaN is provided in the spec.  A requirement similar to Duration would seem to make sense.  It requires returning an error on NaN.

 
Proposed Change: Add to AppendWindowEnd in Section 3.1:

1.	If the value being set NaN then throw an INVALID_ACCESS_ERR exception and abort these steps.
Comment 1 Aaron Colwell 2013-05-13 21:15:54 UTC
Changes committed.
https://dvcs.w3.org/hg/html-media/rev/71968956733e