[Bug 20567] Change [[Prototype]] for concept-node-adopt?


--- Comment #74 from Anne <annevk@annevk.nl> ---
I'm no longer convinced we should do this.

1) According to rniwa Safari no longer has GC-dependent behavior.

2) Both Chrome and Safari get away with not changing [[Prototype]] on adoption,
despite this causing some leaks.

3) Changing [[Prototype]] for the node and dependent platform objects adds a
significant amount of complexity to the platform.

4) The other case where this would be necessary, document.open(), is apparently
also not implemented by either Chrome or Safari. They simply keep using the
same global: https://github.com/whatwg/html/issues/1698. (Adoption of which
would be an enormous simplification of the standard and simultaneously remove a
bunch of behavior that was not clearly defined.)

If folks still think we should do this, it might be best to start a new
argument with current information at https://github.com/whatwg/dom/issues/new
given that this thread is now over seventy comments long and I doubt everyone
still remembers the talking points.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 19 August 2016 12:32:36 UTC