<?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>18841</bug_id>
          
          <creation_ts>2012-09-11 23:40:13 +0000</creation_ts>
          <short_desc>[Custom]: &quot;extends&quot; is an ECMAScript reserved word; don’t use it as an attribute name</short_desc>
          <delta_ts>2012-10-24 20:10:37 +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>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>
          
          <blocked>17103</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>erik.arvidsson</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73647</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-09-11 23:40:13 +0000</bug_when>
    <thetext>&quot;extends&quot; is a reserved word in JavaScript and illegal in strict mode. Thus it is inconvenient to access the HTMLElementElement.extends attribute from JavaScript. Consider using a different name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77063</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-10-24 19:54:30 +0000</bug_when>
    <thetext>Isn&apos;t it only illegal as a variable? I think it still totally works as an property name: http://jsfiddle.net/pQa2w/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77065</commentid>
    <comment_count>2</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2012-10-24 20:10:37 +0000</bug_when>
    <thetext>Property names are using the IdentifierName production which allows reserved keywords:

Identifier ::
  IdentifierName but not ReservedWord

IdentifierName ::
  IdentifierStart
  IdentifierName IdentifierPart

Other productions, like variable bindings and function name bindings uses the Identifier production which may not include reserved keywords.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>