<?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>10977</bug_id>
          
          <creation_ts>2010-10-05 02:12:22 +0000</creation_ts>
          <short_desc>Properties should be on prototypes, not on objects, in the ECMAScript binding</short_desc>
          <delta_ts>2010-10-06 22:41:19 +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="Boris Zbarsky">bzbarsky</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40617</commentid>
    <comment_count>0</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2010-10-05 02:12:22 +0000</bug_when>
    <thetext>DOM properties should be on prototypes and defined in terms of getter/setter pairs; that would allow page scripts to override property implementations as needed.  This should be doable with an ES5 formulation of the ECMAScript binding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40625</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-10-05 10:02:18 +0000</bug_when>
    <thetext>The event handler IDL attributes are special though, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40634</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2010-10-05 15:06:33 +0000</bug_when>
    <thetext>Why?  (I mean... they could be; and I think in Gecko right now they are, but do they have to be?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40638</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-10-05 15:49:09 +0000</bug_when>
    <thetext>I do not know whether they have to be. If they can be consistent that would be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40750</commentid>
    <comment_count>4</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2010-10-06 22:21:22 +0000</bug_when>
    <thetext>Done for attributes on interfaces:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.220&amp;r2=1.221&amp;f=h
http://dev.w3.org/2006/webapi/WebIDL/#es-attributes

Still to do exception members.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40753</commentid>
    <comment_count>5</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2010-10-06 22:41:19 +0000</bug_when>
    <thetext>And done for exceptions now too:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.221&amp;r2=1.222&amp;f=h</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>