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

Indexing toString or general getters seems like a bad idea since they can
run arbitrary code.  Wouldn't removing the restriction allow for that?

J

On Mon, Mar 21, 2011 at 11:51 AM, Pablo Castro
<Pablo.Castro@microsoft.com>wrote:

>  The spec today requires that properties key paths point at need to be
> enumerated (see 3.1.2 “Object Store”). Any particular reason for that? It
> would be reasonable to allow an index on say the “length” property of a
> string. Perhaps we’re opening the door for too much, so I wanted to double
> check so we make an explicit call one way or the other. Thoughts?
>
>
>
> Thanks
>
> -pablo
>
>
>

Received on Monday, 21 March 2011 21:34:01 UTC