<?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>19898</bug_id>
          
          <creation_ts>2012-11-07 20:41:35 +0000</creation_ts>
          <short_desc>Deprecate TYPE_MISMATCH_ERR in favor of TypeError</short_desc>
          <delta_ts>2012-11-09 14:38:29 +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>DOM</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Erik Arvidsson">erik.arvidsson</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>adamk</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78007</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2012-11-07 20:41:35 +0000</bug_when>
    <thetext>It is unclear why we have TYPE_MISMATCH_ERR. In WebKit it is used in places where we have are supposed to throw a TypeError (which is often a violation of the WebIDL spec).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78013</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-11-07 22:04:20 +0000</bug_when>
    <thetext>I agree. We only use this in 5 places in gecko, all of which seems better to switch to throwing TypeError.

http://mxr.mozilla.org/mozilla-central/ident?i=NS_ERROR_DOM_TYPE_MISMATCH_ERR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78111</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-11-09 14:38:29 +0000</bug_when>
    <thetext>https://github.com/whatwg/dom/commit/3c29e293d32945d3a5363bb241d4d215227e0d7b

Filed bug 19921 on HTML. Any other places this is used?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>