http://codereview.appspot.com/4701044/diff/29001/src/com/google/caja/es53.js
File src/com/google/caja/es53.js (right):

http://codereview.appspot.com/4701044/diff/29001/src/com/google/caja/es53.js#newcode4711
src/com/google/caja/es53.js:4711: return desc.get.f___(safeDis(proxy),
[]);
Since desc is untrusted (it came from cajoled code), desc.get could be
an accessor, or desc itself may be a proxy. In either case, the
expression above for obtaining the value of desc.get is correct, but the
obtained value should be used here (e.g. "getter.f___(...") rather than
asking the same question twice and assuming stable answers.

Likewise perhaps at other places below; I haven't checked.

http://codereview.appspot.com/4701044/

Reply via email to