W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Oct 2013 20:33:05 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23618-2486@http.www.w3.org/Bugs/Public/>
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 the QA Contact for the bug.
Received on Wednesday, 23 October 2013 20:33:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC