<?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>14879</bug_id>
          
          <creation_ts>2011-11-18 19:11:44 +0000</creation_ts>
          <short_desc>You should remove named numeric constants from interfaces that don&apos;t have legacy constraints yet.  These probably include some or all of: HTMLTrackElement, TextTrack, NavigatorUserMediaError, MediaStream, PeerConnection, EventSource.</short_desc>
          <delta_ts>2012-07-18 18:42:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-websocket-interface</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60146</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-11-18 19:11:44 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-websocket-interface
Complete: http://www.whatwg.org/c#the-websocket-interface

Comment:
You should remove named numeric constants from interfaces that don&apos;t have
legacy constraints yet.  These probably include some or all of:
HTMLTrackElement, TextTrack, NavigatorUserMediaError, MediaStream,
PeerConnection, EventSource.

Posted from: 68.175.61.233
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.8 (KHTML, like Gecko) Chrome/17.0.938.0 Safari/535.8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60147</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-18 19:15:54 +0000</bug_when>
    <thetext>HTMLTrackElement, TextTrack: Are we sure it&apos;s worth the inconsistency with HTMLMediaElement?

NavigatorUserMediaError, MediaStream, PeerConnection: Please report these to the WebRTC group.

EventSource: This one is widely implemented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60148</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-11-18 19:24:38 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; HTMLTrackElement, TextTrack: Are we sure it&apos;s worth the inconsistency with
&gt; HTMLMediaElement?

Well, the same could be asked of pretty much any new interface, since usually they&apos;re comparable to some existing interface or other.  I think it&apos;s probably best to just avoid the numeric constant pattern in all new interfaces, but maybe other people have different opinions.  Anne?

&gt; NavigatorUserMediaError, MediaStream, PeerConnection: Please report these to
&gt; the WebRTC group.

Probably not worth my time, since I don&apos;t know if they&apos;ll agree that it&apos;s a bad pattern.

&gt; EventSource: This one is widely implemented.

Okay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61202</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-08 00:04:55 +0000</bug_when>
    <thetext>The media ones are closely related to each other, so I think the consistency argument is stronger than with other cases.

In general for new constants that are not clearly ordered (i.e. where it doesn&apos;t make sense to compare them with the &gt; operator), I agree.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>