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

On Mon, Dec 24, 2012 at 11:53 AM, David Bruant <bruant.d@gmail.com> wrote:
> One thing to keep in mind is that in ES6, it won't be possible to change the
> [[Prototype]] of an object with [[Extensible]]:false (it's currently the
> case in Firefox, I haven't tested others).
> It means that nodes (and anything that can have its *associated object*
> changed) must throw on Object.preventExtensions/seal/freeze (I don't know
> what WebIDL currently says about that).

Given the document.open() scenario this might potentially be
everything in the platform... The alternative would be to not garbage
collect the previous Window ever, which would be sad :-(


-- 
http://annevankesteren.nl/

Received on Monday, 24 December 2012 10:59:13 UTC