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, 02 Jun 2011 00:36:04 +0000
To: public-script-coord@w3.org
Message-Id: <E1QRvtM-0005g0-TH@jessica.w3.org>

--- Comment #5 from Cameron McCormack <cam@mcc.id.au> 2011-06-02 00:36:04 UTC ---
I'm not actually sure what the problem with the shadowing attribute is.  As
others say, the property on Bar.prototype will need to have both a getter and a
setter.  The spec defining these interfaces should just define what Bar::quux
returns on getting.  That definition could be "Returns the same thing as

One question is whether we need to make
`Object.getOwnPropertyDescriptor(Foo.prototype, "quux").get ==
Object.getOwnPropertyDescriptor(Bar.prototype, "quux").get`.  I don't think we

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, 2 June 2011 00:36:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC