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

On 4/16/14 11:34 AM, Rick Waldron wrote:
> I tried the code example (with typos fixed) from the original post in
> Firefox and Chrome (with experimental JS turned on) before posting my
> original reponse
> (https://dl.dropboxusercontent.com/u/3531958/windowproxy/index.html).
> Both browsers produced the same result: "hello". Is there something
> missing there?

That testcase doesn't wait for the navigation to actually happen.  Try 
http://jsfiddle.net/zVqVX/1/

-Boris

Received on Wednesday, 16 April 2014 16:14:19 UTC