[Bug 27740] Suggest changing interface name 'MediaKeyStatuses' to 'MediaKeyStatusMap'

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

David Dorwin <ddorwin@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|adrianba@microsoft.com      |ddorwin@google.com

--- Comment #2 from David Dorwin <ddorwin@google.com> ---
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 13 January 2015 21:46:46 UTC