This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24227 - Rename "closed" event to "close"
Summary: Rename "closed" event to "close"
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Encrypted Media Extensions (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Adrian Bateman [MSFT]
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 23:30 UTC by David Dorwin
Modified: 2014-01-21 15:38 UTC (History)
2 users (show)

See Also:


Attachments

Description David Dorwin 2014-01-07 23:30:12 UTC
I'm not sure what the preferred naming convention is, but looking at existing event names [1][2], not many end in "ed". In addition, "close" is already used for other objects, so it seems odd to add "closed".

"close", "error", and "message" already exist. "ready" and "needkey" are new.


As an aside, MSE also uses "close" on the MediaSource object but also has "ended". I'm not sure why. (The events actually have a "source" prefix, which is unfortunate.)

[1] http://src.chromium.org/viewvc/blink/trunk/Source/core/events/EventTypeNames.in
[2] http://trac.webkit.org/browser/trunk/Source/WebCore/dom/EventNames.h
Comment 1 Adrian Bateman [MSFT] 2014-01-14 16:13:21 UTC
Discussed on telcon 1/14 - no objections.
Comment 2 Adrian Bateman [MSFT] 2014-01-21 15:38:36 UTC
Changeset -> https://dvcs.w3.org/hg/html-media/rev/413d03f8655c