<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24184</bug_id>
          
          <creation_ts>2014-01-02 02:07:27 +0000</creation_ts>
          <short_desc>References undefined type EventHandler</short_desc>
          <delta_ts>2014-01-02 23:09:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebSocket API (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Glenn Adams">glenn</reporter>
          <assigned_to>contributor</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97908</commentid>
    <comment_count>0</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2014-01-02 02:07:27 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97911</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-01-02 06:39:01 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97915</commentid>
    <comment_count>2</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2014-01-02 13:23:51 +0000</bug_when>
    <thetext>(In reply to Boris Zbarsky from comment #1)
&gt; EventHandler is defined at
&gt; http://www.w3.org/html/wg/drafts/html/master/webappapis.html#eventhandler
&gt; and equivalent in the WHATWG HTML spec.

I know that. But that definition is not referenced.

&gt; 
&gt; I agree that the instances of EventHandler in the IDL in websocket API
&gt; should link to that definition.  However, note that
&gt; http://dev.w3.org/html5/websockets/#dependencies explicitly notes that a
&gt; number of fundamental concepts from the HTML specification are used in this
&gt; one, and EventHandler is one of those.  Just like EventTarget is actually
&gt; coming from the DOM specification here.

Any externally defined type needs to be explicitly linked or cited, not included in a general &quot;fundamental concepts&quot; clause.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97924</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-02 20:24:59 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97926</commentid>
    <comment_count>4</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2014-01-02 20:33:01 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #3)
&gt; Just use http://www.whatwg.org/html#network
&gt; 
&gt; The W3C version is only useful for patent policy purposes and is not
&gt; guaranteed to have fully working cross-references, etc.

The W3C version is the only one that matters, and needs fixed. Please don&apos;t re-close until fixed or I will just re-open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97951</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-01-02 23:09:17 +0000</bug_when>
    <thetext>Taking off my radar.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>