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

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Aug 2016 12:32:21 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20567-3890-1DhuJp1hlA@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567

--- 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

This archive was generated by hypermail 2.3.1 : Friday, 19 August 2016 12:32:36 UTC