W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

Re: WindowProxy as the key in ES6 Set/Map/WeakSet/WeakMap

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 17 Apr 2014 20:14:22 -0400
Message-ID: <53506E5E.6010106@mit.edu>
To: Rick Waldron <waldron.rick@gmail.com>
CC: Adam Barth <abarth@chromium.org>, Domenic Denicola <domenic@domenicdenicola.com>, "Mark S. Miller" <erights@google.com>, Toon Verwaest <verwaest@chromium.org>, Adam Klein <adamk@chromium.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 4/17/14 6:35 PM, Rick Waldron wrote:
> Will this actually matter? Will `w` ever have a _different_ identity
> such that it will no longer be usable get the value from the map?

In Chrome, yes.  Did you not try my testcase at 
http://jsfiddle.net/zVqVX/1/ in Chrome?

In Firefox, no.

-Boris
Received on Friday, 18 April 2014 00:15:02 UTC

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