[Bug 23618] New: Drop "key" prefix from event names

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

            Bug ID: 23618
           Summary: Drop "key" prefix from event names
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: ddorwin@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

All MediaKeySession event names [1] start with "key". I propose that we drop
"key" from the name, so that the event names are "error", "message", "ready",
etc.

In the original version of EME, the events were fired at the HTMLMediaElement,
so we needed to differentiate them from other events. Since the events are now
fired at the MediaKeySession object, this is no longer necessary. Also, the
references to "key" are not always accurate. For example, the "error" event may
not be a problem with any key. In addition, "error" is consistent with the
event on other objects and MediaKeySession's "error" attribute

[1]
https://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html#event-summary

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 23 October 2013 20:33:07 UTC