W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

[Bug 20836] What happens when a dictionary references itself?

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 Jan 2013 17:18:00 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20836-3890-TZnGnniqah@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Fran├žois REMY <francois.remy.dev@outlook.com> ---
It's not an opinion or a bug, it's just a question in fact ;-)

My question is: should we keep reference of objects using a weakmap or a
reference table or is it fine to simply loop forever (the browser will
ultimately kill the script)?

What do browser do today (even if the situation don't happen, what would they
do if I added the necessary interface but changed no other code whatsoever)?

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 31 January 2013 17:18:01 UTC

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