[encrypted-media] Define the behavior of MediaKeyStatusMap::get(keyId) when |keyId| is not in the map

ddorwin has just created a new issue for 
https://github.com/w3c/encrypted-media:

== Define the behavior of MediaKeyStatusMap::get(keyId) when |keyId| 
is not in the map ==
The definition of `MediaKeyStatusMap`'s `get(BufferSource keyId)` 
method is currently:
> Returns the MediaKeyStatus of the key identified by keyId.

It does not say what happens or is returned if `keyId` is not in the 
map and thus there is no value for it.

To be consistent with the [ES6 Map interface's 
get()](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-map.prototype.get),
 this method should return `undefined`.

See https://github.com/w3c/encrypted-media/issues/70

Received on Tuesday, 7 July 2015 19:46:04 UTC