W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: Discussion of File API at TPAC in Lyon

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 15 Nov 2010 05:32:12 +1300
To: Jonas Sicking <jonas@sicking.cc>
Cc: Anne van Kesteren <annevk@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Adrian Bateman <adrianba@microsoft.com>, Arun Ranganathan <aranganathan@mozilla.com>, Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <20101114163212.GB11814@wok.mcc.id.au>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:42 GMT