Template site objects and WeakMap

Andrea Giammarchi andrea.giammarchi at gmail.com
Wed Jun 17 19:41:45 UTC 2015


uh ... never mind then, I don't even need to understand :D

Cheers

On Wed, Jun 17, 2015 at 7:51 PM, 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150617/49bf3fa8/attachment.html>


More information about the es-discuss mailing list