W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2012

Re: [dom] Need to describe the interaction of adoptNode with prototype chains

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 24 Dec 2012 08:53:57 -0800
Message-ID: <50D888A5.8080708@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: www-dom@w3.org, Cameron McCormack <cam@mcc.id.au>, Bobby Holley <bholley@mozilla.com>
On 12/24/12 1:54 AM, Anne van Kesteren wrote:
> I mean that he was hoping Web IDL would solve this.

Ah.  I think .contentWindow and .contentDocument, at least, make it 
pretty hard to solve in WebIDL per se....

> Was the second paragraph also unclear?

No, I'm just not sure what the best approach is to document.open.

> Right, but that involves nodes ;-) Though even there I think if we
> clearly stipulate what objects are associated with a node from a
> specification perspective we could make it very clear what needs to
> happen (assuming all specification writers play ball...).

Yeah, agreed.

> Not sure how
> easy it would be to implement, but if the list of associated objects
> was clear you could just enumerate them and replace their
> [[Prototype]] per the unwritten algorithm in Web IDL...

Yes, I think this is correct.

-Boris
Received on Monday, 24 December 2012 16:54:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 24 December 2012 16:54:33 GMT