Mark S. Miller (2015-06-17T19:21:47.000Z)
TypeError: Invalid value used as weak map key

Yes, already fixed on v8. Thanks.



On Wed, Jun 17, 2015 at 11:51 AM, Caitlin Potter <caitpotter88 at gmail.com>
wrote:

> The v8 bug referred to earlier in this thread was filed by Rick Waldron
> and fixed back in March, I think engines are on the same page with this —
> just FYI
>
> > On Jun 17, 2015, at 2:49 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> >
> > On 6/17/15 2:35 PM, Mark S. Miller wrote:
> >> What do other browsers currently do?
> >
> > Firefox:
> >
> > > var w = new WeakMap(); var r = Symbol.for('foo'); w.set(r, true);
> > TypeError: r is not a non-null object
> >
> > WebKit nightly:
> >
> > > var w = new WeakMap(); var r = Symbol.for('foo'); w.set(r, true);
> > TypeError: Attempted to set a non-object key in a WeakMap
> >
> > Don't have a new enough IE to test with offhand.
> >
> > -Boris
> > _______________________________________________
> > es-discuss mailing list
> > es-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es-discuss
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150617/a441edc1/attachment-0001.html>
d at domenic.me (2015-07-07T01:42:37.781Z)
```
TypeError: Invalid value used as weak map key
```

Yes, already fixed on v8. Thanks.