W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [PrototypeRoot]

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 20 Jun 2009 07:39:20 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0906200730520.16244@hixie.dreamhostps.com>
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] a lot, that’d help.

Given an object and a list of interface that it implements, remove 
interfaces from the list that match any of the following conditions:

  - the interface was on the right hand side of an 'implements' clause the 
    left hand side of which lists an interface that the object implements

  - the interface is inherited from another interface the object 

  - the interface has [NoInterfaceObject]

...you should be lift with one interface. Use its name as the [[Class]].

Are there any objects where that leaves an ambiguity?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 20 June 2009 07:39:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:54 UTC