[Bug 12845] Disallow shadowing attributes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12845

--- 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
Foo::quux".

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
do.

-- 
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