Hi,

In getOwnPropertyDescriptor and getPropertyDescriptor traps of the no-op
forwarding proxy example, the "desc.configurable = true" instruction
fails if desc is undefined (which happens when the property is undefined).
A "if(typeof(desc) === 'object')" beforehand saves the situation.

Just for the record, on the only implementation I know (FF4b10), there
is a bug if either of these method returns undefined :
https://bugzilla.mozilla.org/show_bug.cgi?id=582967

David
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to