W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

Re: Exposing constructors of readonly interfaces to web authors

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 10 Jul 2014 12:47:39 -0400
Message-ID: <53BEC3AB.40603@mit.edu>
To: Rik Cabanier <cabanier@gmail.com>
CC: Domenic Denicola <domenic@domenicdenicola.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 7/10/14, 12:42 PM, Rik Cabanier wrote:
> It was to avoid introducing another instance. Is there a way in IDL to
> have a constructor but not have the class available in the global object?

No, but we could certainly add such a thing.  However, why is that 
desirable?  What use is a constructor you can't get hold of without 
weird tricks?

Received on Thursday, 10 July 2014 16:48:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC