This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The definition of interface WebSocket refers four times to the undefined type EventHandler. The specification must include a definition or a reference to a definition of EventHandler.
EventHandler is defined at http://www.w3.org/html/wg/drafts/html/master/webappapis.html#eventhandler and equivalent in the WHATWG HTML spec. I agree that the instances of EventHandler in the IDL in websocket API should link to that definition. However, note that http://dev.w3.org/html5/websockets/#dependencies explicitly notes that a number of fundamental concepts from the HTML specification are used in this one, and EventHandler is one of those. Just like EventTarget is actually coming from the DOM specification here.
(In reply to Boris Zbarsky from comment #1) > EventHandler is defined at > http://www.w3.org/html/wg/drafts/html/master/webappapis.html#eventhandler > and equivalent in the WHATWG HTML spec. I know that. But that definition is not referenced. > > I agree that the instances of EventHandler in the IDL in websocket API > should link to that definition. However, note that > http://dev.w3.org/html5/websockets/#dependencies explicitly notes that a > number of fundamental concepts from the HTML specification are used in this > one, and EventHandler is one of those. Just like EventTarget is actually > coming from the DOM specification here. Any externally defined type needs to be explicitly linked or cited, not included in a general "fundamental concepts" clause.
Just use http://www.whatwg.org/html#network The W3C version is only useful for patent policy purposes and is not guaranteed to have fully working cross-references, etc.
(In reply to Ian 'Hixie' Hickson from comment #3) > Just use http://www.whatwg.org/html#network > > The W3C version is only useful for patent policy purposes and is not > guaranteed to have fully working cross-references, etc. The W3C version is the only one that matters, and needs fixed. Please don't re-close until fixed or I will just re-open.
Taking off my radar.