On Fri, Jul 25, 2014 at 4:57 PM, Michaël Rouges <[email protected]>
wrote:
> Um, no, I was thinking something like :
>
> ```
> var fn;
>
> fn = function fn() {
> // After the context is attached fn scope already knows "shared"
> };
>
> (function () {
> var shared;
>
> shared = 'message';
>
> fn.attachContext();
> }());```
>
>
It's as if attachContext creates pointers to all bindings in the Lexical
and Variable Environment? If any of those bindings are for references, this
creates an object capabilities leak.
Rick
>
> Michaël Rouges - https://github.com/Lcfvs - @Lcfvs
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss