Re: [PrototypeRoot]

2009-08-06 Thread Garrett Smith
On Mon, Jun 22, 2009 at 4:49 PM, Ian Hicksoni...@hixie.ch wrote: On Sun, 21 Jun 2009, Garrett Smith wrote: On Sat, Jun 20, 2009 at 12:43 AM, Ian Hicksoni...@hixie.ch wrote: On Sat, 20 Jun 2009, Garrett Smith wrote: I still want to know: Why would a program want to know the object's

Re: [PrototypeRoot]

2009-06-22 Thread Ian Hickson
On Sun, 21 Jun 2009, Garrett Smith wrote: On Sat, Jun 20, 2009 at 12:43 AM, Ian Hicksoni...@hixie.ch wrote: On Sat, 20 Jun 2009, Garrett Smith wrote: I still want to know: Why would a program want to know the object's [[Class]]? It shouldn't, but [[Class]]es are exposed by ECMAScript

Re: [PrototypeRoot]

2009-06-21 Thread Garrett Smith
On Sat, Jun 20, 2009 at 12:43 AM, Ian Hicksoni...@hixie.ch wrote: On Sat, 20 Jun 2009, Garrett Smith wrote: I still want to know: Why would a program want to know the object's [[Class]]? It shouldn't, but [[Class]]es are exposed by ECMAScript objects in their toString() method and thus if

Re: [PrototypeRoot]

2009-06-20 Thread Cameron McCormack
Ian Hickson: I don't really mind exactly what the solution is; my only concern here would be that I'd be throwing [PrototypeRoot] around a lot. Acknowledged. If you can propose a way of defining this without needing to use [PrototypeRoot] a lot, that’d help. (I assume with PrototypeRoot

Re: [PrototypeRoot]

2009-06-20 Thread Garrett Smith
On 6/20/09, Cameron McCormack c...@mcc.id.au wrote: Ian Hickson: I don't really mind exactly what the solution is; my only concern here would be that I'd be throwing [PrototypeRoot] around a lot. Acknowledged. If you can propose a way of defining this without needing to use [PrototypeRoot

Re: [PrototypeRoot]

2009-06-20 Thread Ian Hickson
On Sat, 20 Jun 2009, Cameron McCormack wrote: Ian Hickson: I don't really mind exactly what the solution is; my only concern here would be that I'd be throwing [PrototypeRoot] around a lot. Acknowledged. If you can propose a way of defining this without needing to use [PrototypeRoot

Re: [PrototypeRoot]

2009-06-20 Thread Ian Hickson
On Sat, 20 Jun 2009, Garrett Smith wrote: I still want to know: Why would a program want to know the object's [[Class]]? It shouldn't, but [[Class]]es are exposed by ECMAScript objects in their toString() method and thus if we want to ensure universally consistent behaviour we have to

Re: [PrototypeRoot]

2009-06-19 Thread Cameron McCormack
Cameron McCormack: Done: The value of the internal [[Class]] property of a host object is determined as follows: * If the host object implements a single interface, then the value of the internal [[Class]] property MUST be the identifier of that interface. Ian

Re: [PrototypeRoot]

2009-03-08 Thread Garrett Smith
On Sat, Mar 7, 2009 at 4:03 PM, Ian Hickson i...@hixie.ch wrote: On Sat, 7 Mar 2009, Cameron McCormack wrote: Done:   The value of the internal [[Class]] property of a host object is   determined as follows:     * If the host object implements a single interface, then the value       of

Re: [PrototypeRoot]

2009-03-07 Thread Ian Hickson
On Sat, 7 Mar 2009, Cameron McCormack wrote: Done: The value of the internal [[Class]] property of a host object is determined as follows: * If the host object implements a single interface, then the value of the internal [[Class]] property MUST be the identifier of

Re: [PrototypeRoot]

2009-03-06 Thread Cameron McCormack
Ian Hickson: In that case I would like us to do this (specifically, define [[Class]] for objects that have only one non-[NoPrototypeObject] interface), since that's the majority of them, and it would be better than having to sprinkle [PrototypeRoot] all over the place. Done: The value