So the corresponding WeakMap situation would be one where the WeakMap o2 is never passed through the membrane, so there is no p2 on the other side of the membrane. In that scenario, AFAICT PrivateSymbol proposal #1, #2, and WeakMaps are all equivalent. Not so?
On Mon, Jan 28, 2013 at 4:19 PM, Brandon Benvie <bran...@brandonbenvie.com>wrote: > The assumption that my conclusion on auto-unwrapping rests on is that the > situation shouldn't arise where a wet value is set as a dry object's > private property. The reasoning is that the private key is presumed to be > something closely guarded and that won't be shared in such a way that this > happens. This assumption is the underpinning of the whole thing, so it's > the real point of contention. > -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss