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 24741 - CustomEvent inherits from Event
Summary: CustomEvent inherits from Event
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 06:33 UTC by Vyacheslav Matva
Modified: 2014-03-31 17:37 UTC (History)
3 users (show)

See Also:


Attachments

Description Vyacheslav Matva 2014-02-20 06:33:55 UTC
On this diagram ( https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#event-interfaces ) CustomEvent inherits from Event interface.
But IDL says that it doesn't (https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#interface-CustomEvent).

If CustomEvent inherits from Event then dictionary CustomEventInit should inherits from EventInit.
Comment 1 Arkadiusz Michalski (Spirit) 2014-03-31 01:43:03 UTC
Looks like bug in D3E interface definition, in DOM4 is correctly
http://dom.spec.whatwg.org/#interface-customevent
Comment 2 Travis Leithead [MSFT] 2014-03-31 17:37:32 UTC
Fixed in changelist: https://dvcs.w3.org/hg/dom3events/rev/eab211d2898a

Thanks for the report!