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.) -- Kevin Reid <http://switchb.org/kpreid/>
