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: Tue, 16 Aug 2011 09:42:47 +1200
Message-ID: <4E4992D7.8080501@mcc.id.au>
To: Tom Van Cutsem <tomvc.be@gmail.com>
CC: "Mark S. Miller" <erights@google.com>, David Flanagan <dflanagan@mozilla.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, es-discuss <es-discuss@mozilla.org>
On 15/08/11 8:58 PM, Tom Van Cutsem wrote:
> So, to future-proof if this strawman is accepted, I think it's best to
> let existing |defineProperty| traps |return true;|.

By that do you mean interpret an undefined return value as meaning 
"don't throw"?  Sounds reasonable.
Received on Monday, 15 August 2011 21:43:46 UTC

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