<?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>25974</bug_id>
          
          <creation_ts>2014-06-04 09:07:05 +0000</creation_ts>
          <short_desc>DOMError removal language could be improved</short_desc>
          <delta_ts>2014-06-04 10:07:21 +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="Harald Alvestrand">harald</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <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>107245</commentid>
    <comment_count>0</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-06-04 09:07:05 +0000</bug_when>
    <thetext>The current language concerning DOMError and DOMException says:

Warning: This entire section will move out of DOM into IDL. DOMException will be defined in terms of JavaScript and made available in both document and worker environments. DOMError will be phased out.
.....
Warning: DOMError is defined here but only used in other specifications. DOMError will be phased out in favor of using DOMException exclusively. See Creating your own errors on es-discuss for more details.

This language does not, I believe, give clear advice on how to deal with DOMError. A suggested rewording:

Warning: In the future, DOMException will be defined as a synonym for some yet-unnamed construct in the Javascript specification. The definition given here may be referenced until such a time as this construct is available.
....
Warning: New specifications should not inherit from or use DOMError in their specifications. This definition is only preserved in this document to make a stable reference for specifications that inherit from or use DOMError today.
Once all those specifications are updated to not use DOMError, the definition of DOMError will be removed from future versions of this document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107247</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-04 09:15:58 +0000</bug_when>
    <thetext>Thanks Harald, how do you like: https://github.com/whatwg/dom/commit/3287ee475b41b8ee373affaab368422e500ef3c3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107252</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-06-04 09:53:47 +0000</bug_when>
    <thetext>I don&apos;t like the phrase &quot;nuked from orbit&quot;, because that&apos;s one of the things I prefer to happen on other planets than my own - and it&apos;s hard to map the florid prose into a real picture of what is intended to happen and when.

I&apos;d prefer &quot;will be removed when the specs that reference it are updated&quot; or &quot;will be removed when the specs that reference it are irrelevant&quot; (the latter might happen before the former).

(Of course, if WHATWG is considered a different planet, that helps a bit.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107255</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-04 10:07:21 +0000</bug_when>
    <thetext>Specifications are some weird alternate planet and implementations never quite seem to get there so we should be all safe.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>