W3C home > Mailing lists > Public > public-html-media@w3.org > November 2015

[encrypted-media] MediaKeySession.load() step 5 refers to undefined "current MediaKeySession session type"

From: Chris Pearce via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Nov 2015 02:32:40 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-119122505-1448591558-sysbot+gh@w3.org>
cpearce-mozilla has just created a new issue for 
https://github.com/w3c/encrypted-media:

== MediaKeySession.load() step 5 refers to undefined "current 
MediaKeySession session type" ==
Step 5 of MediaKeySession.load()  read:

> 5. If the object's session type is not the same as the current 
MediaKeySession session type, return a promise rejected with a new 
DOMException whose name is TypeError.

Step 5 refers to "the current MediaKeySession session type", but 
there's no definition of what "the current MediaKeySession session 
type" is. It seems that this is almost a check to enforce that the 
session type is a persistent type, but that's already done in step 4.

I propose we remove step 5.

Please view or discuss this issue at 
https://github.com/w3c/encrypted-media/issues/131 using your GitHub 
account
Received on Friday, 27 November 2015 02:32:42 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 02:32:43 UTC