W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [IndexedDB] Any particular reason built-in properties are not indexable?

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 21 Mar 2011 14:56:19 -0700
Message-ID: <AANLkTik-G8r6hjZCFiziP8k4f-+YMP23+YJx5+qP-GHS@mail.gmail.com>
To: Jeremy Orlow <jorlow@chromium.org>
Cc: Pablo Castro <Pablo.Castro@microsoft.com>, public-webapps WG <public-webapps@w3.org>
On Mon, Mar 21, 2011 at 2:33 PM, Jeremy Orlow <jorlow@chromium.org> wrote:
> Indexing toString or general getters seems like a bad idea since they can
> run arbitrary code.  Wouldn't removing the restriction allow for that?

No, they live on the prototype chain so they aren't cloned anyway.

Well.. depending on what you mean by "general getters" that is?

/ Jonas
Received on Monday, 21 March 2011 21:57:24 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:30 UTC