Description* If a property is an accessor property, traverse the getter rather
than invoking it and using its return value. This avoids possibly
causing side-effects while traversing, and handles accessors on
prototypes which throw if not called on an instance.
* Introduce a new whitelist value, 'accessor'; properties which
are whitelisted as such but not actually accessors are rejected,
as are properties which are accessors but whitelisted as data.
* Check syntax of whitelist as part of register().
* Shorten getThrowTypeError code by using 'gopd'.
@r5508
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 4
|
||||||||||||||||||||||||||||