Re: Discussion of File API at TPAC in Lyon

Jonas Sicking:
> Since I wrote the IDL for indexeddb above, WebIDL has gotten support
> for "static" which should do what we want. Though it's a bit unclear
> if using a real interface would cause there to be a .prototype
> property on the URL interface which we for now don't want, right. It's
> also unclear if static functions appear on URL objects as well.

The new static keyword will cause the function property to exist on the
interface object and not on the prototype.  Thus you can’t access the
function directly by getting a property on an instance of the interface.

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Sunday, 14 November 2010 16:33:14 UTC