W3C home > Mailing lists > Public > public-html-media@w3.org > July 2014

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Jul 2014 21:41:32 +0000
To: public-html-media@w3.org
Message-ID: <bug-26313-5436@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:04 UTC