[Bug 21953] New: AppendWindowEnd can accept NaN as value

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

            Bug ID: 21953
           Summary: AppendWindowEnd can accept NaN as value
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: jdsmith@microsoft.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

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.

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

Received on Tuesday, 7 May 2013 18:15:50 UTC