On Wed, May 25, 2011 at 1:17 PM, Kevin Reid <[email protected]> wrote:
> On May 25, 2011, at 12:38, Mark S. Miller wrote: > > > Before the return, the above constructor should do at least > > > > Object.preventExtensions(this); > > > > Of course, freeze or seal would work as well. > > Everything is frozen due to trademarking implicitly freezing, so that's > moot. > > Though, in the case of pseudo-nodes (such as the virtual document, <html>, > <head> and <title>), it would be convenient (but not necessary) to handle > expando properties by simply letting them be set on the TamePseudoNode > object, rather than setting up an internal map. > > (The proxy forwarding, and the need to trademark the proxy itself, is also > clashing with the ident___ mechanism in initSES.js; I've stubbed that out > for now but it should be revisited.) > Good point. For now, how about we switch Domado on SES to FF6 or FF7 with built in WeakMaps, so that we don't need to emulate them using ident___? > > -- > Kevin Reid <http://switchb.org/kpreid/> > > -- Cheers, --MarkM
