This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Since MediaKeyStatuses is nothing more than a maplike<>, I suggest changing the name to MediaKeyStatusMap. The term 'status' is often used as a mass noun, in which case status is also the plural. Since there is also a MediaKeyStatus interface, I see why this wasn't an option, but 'statuses' just sounds odd to me.
Note that the name of the attribute that uses this type is "keyStatuses". Would this change too?
As discussed in the telecon today, we'll change the name of the type. Note, that this is also consistent with MIDIInputMap [1]. Other interesting things from the Web MIDI spec: 1. The map key is DOMString "id", and the value is MIDIInput "port" [1]. Thus, the "MIDI input map", is a map of an ID to a MIDIInput. 2. The attribute that uses MIDIInputMap is named "inputs" and has the description "The MIDI input ports available to the system. [2]" Applying these to EME: #1 - MediaKeyStatusMap is a map of an ID to a MediaKeyStatus. #2 - keyStatuses is the shortened plural name of the type of value (MediaKeyStatus > keyStatuses as MIDIInput > inputs). In summary, the type will change to MediaKeyStatusMap and we will keep the attribute name "keyStatuses". [1] http://webaudio.github.io/web-midi-api/#midiinputmap-interface [2] http://webaudio.github.io/web-midi-api/#widl-MIDIAccess-inputs
Implemented in https://github.com/w3c/encrypted-media/commit/98790589a5a9528a13c1d2b09ea9566edfb77138
thanks!