<?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>18749</bug_id>
          
          <creation_ts>2012-08-31 05:34:29 +0000</creation_ts>
          <short_desc>Why removing exception throwing from binaryType</short_desc>
          <delta_ts>2012-09-28 03:23:24 +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>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Takeshi Yoshino">tyoshino</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</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>73094</commentid>
    <comment_count>0</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2012-08-31 05:34:29 +0000</bug_when>
    <thetext>https://www.w3.org/Bugs/Public/show_bug.cgi?id=18416

IIUC, this change means that program with bug that is substituting wrong value to binaryType will be no longer warned by an exception.

Is there any benefit of enum making this change worth?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73095</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-08-31 07:54:38 +0000</bug_when>
    <thetext>Wrong values throw TypeError per WebIDL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73096</commentid>
    <comment_count>2</comment_count>
    <who name="Takeshi Yoshino">tyoshino</who>
    <bug_when>2012-08-31 07:58:28 +0000</bug_when>
    <thetext>Yes for function. Is it true for assignment too?

Example here says it&apos;s ignored.
http://dev.w3.org/2006/webapi/WebIDL/#idl-enums</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73097</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-08-31 08:18:51 +0000</bug_when>
    <thetext>That non-normative example seems wrong. http://dev.w3.org/2006/webapi/WebIDL/#es-enumeration says to throw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73099</commentid>
    <comment_count>4</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-08-31 08:40:46 +0000</bug_when>
    <thetext>But &lt;http://dev.w3.org/2006/webapi/WebIDL/#es-attributes&gt; has a special case.

The reason to do this is to be consistent with the other enumerated attributes in the platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74706</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-28 03:23:02 +0000</bug_when>
    <thetext>Yeah, the plan here is to be consistent with other things in the platform.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74707</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-09-28 03:23:24 +0000</bug_when>
    <thetext>(Good browsers can give a warning in their consoles, btw.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>