W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 12845] Disallow shadowing attributes

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Jun 2011 04:42:15 +0000
To: public-script-coord@w3.org
Message-Id: <E1Qc94x-0004fU-4R@jessica.w3.org>

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #37 from Cameron McCormack <cam@mcc.id.au> 2011-06-30 04:42:14 UTC ---
OK, I've added syntax for this:

  interface Ancestor {
    readonly attribute DOMString whatever;

  interface Derived : Ancestor {
    attribute DOMString whatever inherits getter;

Object.getOwnPropertyDescriptor(Derived.protoype, "whatever").get will be a
distinct object from Ancestor.prototype.whatever's, but they will have the same
behaviour.  There is no need to define Derived::whatever's get behaviour in

(I didn't use extended attributes for this since it's not really optional,
language binding specific behaviour.)


Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 30 June 2011 04:42:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:44 UTC