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

Re: Determining what prototype should be used for an object

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Mon, 17 Nov 2014 10:16:29 -0500
Message-ID: <546A114D.3050708@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: Allen Wirfs-Brock <allen@wirfs-brock.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Ian Hickson <ian@hixie.ch>
On 11/17/14, 10:03 AM, Anne van Kesteren wrote:
> Yes. It seems like Realm might be the only real variable for creation.
> Do we know of cases where we want a different Realm?

Different from what?

> I think finding an object's associated objects that need to be created
> should be done through IDL syntax. I think describing the internal
> slots would make a lot of sense for that

It would be the only way to do it, I'd think.  There's no current 
syntactic construct that describes it....

Though we could auto-assume internal slots for object-valued attributes, 
to reduce the amount of churn needed.

> So IDL's part of creation would be creating the desired object in the
> given/implied Realm and creating that object's associated objects in
> the same Realm.


Received on Monday, 17 November 2014 15:17:00 UTC

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