defineProperty is a blacklist

Hey all

I'd like to emphasize my point made at the OWASP summit, defineProperty
rocks and the ES5 specification was created by the hands of js gods but for
all it's brilliance defineProperty is still a blacklist. We need the ability
to somehow create a whitelist of allowed properties and the ability to apply
a property descriptor to any properties that do not conform to this
whitelist.

Cheers

Gareth

Received on Sunday, 13 February 2011 20:58:13 UTC