W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 20225] don't allow overridden operations and attribute getters/setters to be invoked on descendant objects

From: <bugzilla@jessica.w3.org>
Date: Tue, 04 Dec 2012 01:21:08 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20225-3890-Qty03iDPdP@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20225

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> ---
Oh, I don't think it's the intention to look at properties at run time -- just
what IDL operations/attributes are declared on interfaces.  So
HTMLCollection.prototype.namedItem would always first just check if `this` is
an HTMLPropertiesCollection, and throw if so.  Whether there is a property
called namedItem somewhere else on the prototype chain at run time shouldn't
matter.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 4 December 2012 01:21:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC