[Bug 27649] New: [MSE] Confused when set MediaSource.duration to NaN throwing an InvalidAccessError exception

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

            Bug ID: 27649
           Summary: [MSE] Confused when set MediaSource.duration to NaN
                    throwing an InvalidAccessError exception
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: jiajia.qin@intel.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

In https://w3c.github.io/media-source/#widl-MediaSource-duration, on setting
step 1: If the value being set is negative or NaN then throw an
InvalidAccessError exception. However, in
https://w3c.github.io/media-source/#mediasource-detach, step 2: Set the
duration attribute to NaN. The two steps are conflicting. I think when set
duration value to NaN, it shouldn't throw exception.

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

Received on Thursday, 18 December 2014 03:22:05 UTC