<?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>14991</bug_id>
          
          <creation_ts>2011-11-29 08:30:27 +0000</creation_ts>
          <short_desc>Remove DOMError</short_desc>
          <delta_ts>2011-11-29 09:20:39 +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>INVALID</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="Olli Pettay">bugs</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <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>60602</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2011-11-29 08:30:27 +0000</bug_when>
    <thetext>DOMError in DOM4 seems to be useless. One could just use a string value.

Currently one needs to do filereader.error.name to check the error, 
filereader.error would be simpler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60604</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-11-29 09:05:14 +0000</bug_when>
    <thetext>The idea is to have a place to stick details about the error in the future. So FileReader.error.bytes could return the set of bytes which wasn&apos;t possible to decode using the selected text decoder. Or IDBRequest.error.index could return the name of the specific index whose &apos;unique&apos; constraint was violated.

These would of course be properties on subclasses of DOMError, and not added to DOMError directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60607</commentid>
    <comment_count>2</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2011-11-29 09:20:39 +0000</bug_when>
    <thetext>Ok, that makes sense.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>