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

Re: May the defineProperty method of a proxy handler throw a TypeError?

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 11 Aug 2011 14:20:48 +1200
Message-ID: <4E433C80.10404@mcc.id.au>
To: "Mark S. Miller" <erights@google.com>
CC: David Flanagan <dflanagan@mozilla.com>, Tom Van Cutsem <tomvc.be@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, es-discuss <es-discuss@mozilla.org>
On 9/08/11 9:40 AM, Mark S. Miller wrote:
> If there are no show-stopping legacy compat constraints forcing us to
> specify Reject, I prefer that we specify these to throw a TypeError.

I can't say for sure, but I would be surprised if this didn't cause 
problems, given that it introduces exception throwing where currently 
assignment to non-writable properties of objects that need to be 
implemented as proxies (like NodeList) is just ignored.
Received on Thursday, 11 August 2011 02:21:35 UTC

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