Private symbols auto-unwrapping proxies (was: Security Demands Simplicity (was: Private Slots))

Tom Van Cutsem at
Wed Jan 23 00:41:15 PST 2013

2013/1/23 Tom Van Cutsem < at>

> Looking back at the code for an identity-preserving membrane <
> I think this membrane actually properly unwraps the |this| value before
> forwarding.

The relevant line of code here is (starting at line 30):

const callTrap(...dryArgs) {
  return asDry(wet.apply(asWet(this),;

Note the "asWet(this)" conversion.

(there's similar code a couple of lines below that for the reverse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list