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

On 4/15/14 5:20 PM, Rick Waldron wrote:
> On Tue, Apr 15, 2014 at 5:04 PM, Adam Klein <adamk@chromium.org
> <mailto:adamk@chromium.org>> wrote:
>     Consider a case where a WeakMap is being used, instead of a Map, to
>     store private state related to an object. Given that expando
>     properties disappear when a WindowProxy is attached to a different
>     Window after navigation,
>
> Is it still the same object, or a newly created object?

It's the same WindowProxy, but a new Window.

-Boris

Received on Tuesday, 15 April 2014 21:28:26 UTC