RE: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Israel Hilerio
On Tuesday, November 15, 2011 4:33 PM, Jonas Sicking wrote: > On Tue, Nov 15, 2011 at 3:14 PM, Joshua Bell wrote: > > On Tue, Nov 15, 2011 at 2:39 PM, Jonas Sicking wrote: > >> > >> Hmm.. good point. Looking at the documentation for the built-in > >> types, there are unfortunately also a host of

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Jonas Sicking
On Tue, Nov 15, 2011 at 3:14 PM, Joshua Bell wrote: > On Tue, Nov 15, 2011 at 2:39 PM, Jonas Sicking wrote: >> >> Hmm.. good point. Looking at the documentation for the built-in types, >> there are unfortunately also a host of constant properties on implicit >> Number objects. But I'm not convinc

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Joshua Bell
On Tue, Nov 15, 2011 at 2:39 PM, Jonas Sicking wrote: > > Hmm.. good point. Looking at the documentation for the built-in types, > there are unfortunately also a host of constant properties on implicit > Number objects. But I'm not convinced that you should be able to index > on "somenumberProp.N

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Jonas Sicking
On Tue, Nov 15, 2011 at 2:20 PM, Joshua Bell wrote: > On Tue, Nov 15, 2011 at 1:33 PM, Jonas Sicking wrote: >> >> On Tue, Nov 15, 2011 at 12:05 PM, Joshua Bell wrote: >> > On Tue, Nov 15, 2011 at 11:42 AM, Jonas Sicking >> > wrote: >> >> >> >> On Tue, Nov 15, 2011 at 9:09 AM, Joshua Bell >> >>

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Joshua Bell
On Tue, Nov 15, 2011 at 1:33 PM, Jonas Sicking wrote: > On Tue, Nov 15, 2011 at 12:05 PM, Joshua Bell wrote: > > On Tue, Nov 15, 2011 at 11:42 AM, Jonas Sicking > wrote: > >> > >> On Tue, Nov 15, 2011 at 9:09 AM, Joshua Bell > wrote: > >> >> I do however think that we should simply state that

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Jonas Sicking
On Tue, Nov 15, 2011 at 12:05 PM, Joshua Bell wrote: > On Tue, Nov 15, 2011 at 11:42 AM, Jonas Sicking wrote: >> >> On Tue, Nov 15, 2011 at 9:09 AM, Joshua Bell wrote: >> >> I do however think that we should simply state that getting the index >> >> values will use the normal method for looking

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Joshua Bell
On Tue, Nov 15, 2011 at 11:42 AM, Jonas Sicking wrote: > On Tue, Nov 15, 2011 at 9:09 AM, Joshua Bell wrote: > >> I do however think that we should simply state that getting the index > >> values will use the normal method for looking up properties on JS > >> objects. This includes walking the p

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Jonas Sicking
On Tue, Nov 15, 2011 at 9:09 AM, Joshua Bell wrote: >> I do however think that we should simply state that getting the index >> values will use the normal method for looking up properties on JS >> objects. This includes walking the prototype chain. Practically >> speaking this only makes a differe

Re: [indexeddb] Keypath attribute lookup question

2011-11-15 Thread Joshua Bell
On Mon, Nov 14, 2011 at 5:52 PM, Jonas Sicking wrote: > What I think we should do is to get index values from the structured > clone of X. There at least two advantages of this: > > 1. The code to get index values can run on the database thread of the > IDB implementation. This enables a more par

Re: [indexeddb] Keypath attribute lookup question

2011-11-14 Thread Jonas Sicking
On Sat, Nov 12, 2011 at 2:14 PM, Jonas Sicking wrote: > On Fri, Nov 11, 2011 at 5:07 PM, Israel Hilerio wrote: >> On Wednesday, November 09, 2011 4:47 PM, Joshua Bell wrote: >>>On Wed, Nov 9, 2011 at 3:35 PM, Israel Hilerio wrote: In section "4.7 Steps for extracting a key from a value using

Re: [indexeddb] Keypath attribute lookup question

2011-11-12 Thread Jonas Sicking
On Fri, Nov 11, 2011 at 5:07 PM, Israel Hilerio wrote: > On Wednesday, November 09, 2011 4:47 PM, Joshua Bell wrote: >>On Wed, Nov 9, 2011 at 3:35 PM, Israel Hilerio wrote: >>>In section "4.7 Steps for extracting a key from a value using a key path" >>>step #4 it states that: >>>* If object does

Re: [indexeddb] Keypath attribute lookup question

2011-11-12 Thread Joshua Bell
On Fri, Nov 11, 2011 at 5:07 PM, Israel Hilerio wrote: > On Wednesday, November 09, 2011 4:47 PM, Joshua Bell wrote: > >On Wed, Nov 9, 2011 at 3:35 PM, Israel Hilerio > wrote: > >>In section "4.7 Steps for extracting a key from a value using a key > path" step #4 it states that: > >>* If object d

RE: [indexeddb] Keypath attribute lookup question

2011-11-11 Thread Israel Hilerio
On Wednesday, November 09, 2011 4:47 PM, Joshua Bell wrote: >On Wed, Nov 9, 2011 at 3:35 PM, Israel Hilerio wrote: >>In section "4.7 Steps for extracting a key from a value using a key path" >>step #4 it states that: >>* If object does not have an attribute named attribute, then skip the rest of

Re: [indexeddb] Keypath attribute lookup question

2011-11-09 Thread Joshua Bell
On Wed, Nov 9, 2011 at 3:35 PM, Israel Hilerio wrote: > In section "4.7 Steps for extracting a key from a value using a key path" > step #4 it states that: > * If object does not have an attribute named attribute, then skip the rest > of these steps and no value is returned. > > We want to verify

[indexeddb] Keypath attribute lookup question

2011-11-09 Thread Israel Hilerio
In section "4.7 Steps for extracting a key from a value using a key path" step #4 it states that: * If object does not have an attribute named attribute, then skip the rest of these steps and no value is returned. We want to verify that the attribute lookup is taking place on the immediate obje