<?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>26961</bug_id>
          
          <creation_ts>2014-10-03 08:16:03 +0000</creation_ts>
          <short_desc>Recommend against JavaScript SyntaxError</short_desc>
          <delta_ts>2014-10-03 08:54:26 +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>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Anne">annevk</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>112627</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-03 08:16:03 +0000</bug_when>
    <thetext>http://heycam.github.io/webidl/#dfn-create-exception

We might want to recommend against creating JavaScript SyntaxError from web standards. Per Allen it is solely intended for parse errors of JavaScript. That it was used for JSON was a mistake and we should probably not give opportunity to spread it further (so defaulting to DOMException &quot;SyntaxError&quot; is great already).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112629</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2014-10-03 08:35:06 +0000</bug_when>
    <thetext>Should I just remove it from the list of &quot;simple exceptions&quot; then?  If it&apos;s not meant to be used anywhere else that&apos;d be better than warning people off it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112631</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-03 08:41:23 +0000</bug_when>
    <thetext>Yeah I guess that&apos;s fine. Perhaps better to change IDL to allow it once there&apos;s an Allen-vetted use case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112634</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2014-10-03 08:54:26 +0000</bug_when>
    <thetext>Done: https://github.com/heycam/webidl/commit/8963248ebcddfc33f1296402c7e6566749d5e2d0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>