[Bug 26313] New: Steps for createSession should define what happens if the sessionType is not supported

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

            Bug ID: 26313
           Summary: Steps for createSession should define what happens if
                    the sessionType is not supported
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media 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

loadSession is optional now, which means that session storage is as well. 
Current createSession steps don't state what to do if sessionType is not
supported.

Proposed add to under step 7.4.2 for createSession:

3.If the sessionType is not supported by the cdm, reject promise with a new
DOMException whose name is "NotSupportedError".

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

Received on Friday, 11 July 2014 21:41:36 UTC