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

http://codereview.appspot.com/4701044/diff/44001/src/com/google/caja/es53.js#newcode4849
src/com/google/caja/es53.js:4849: if (isIn('get', handler)) {
Can't do 'in' test to test for presence of trap in handler. must [[get]]
and then simply check the obtained value. Otherwise we break
double-lifting trick.

http://codereview.appspot.com/4701044/diff/44001/src/com/google/caja/es53.js#newcode5038
src/com/google/caja/es53.js:5038: if (proto === void 0) {
if (proto === void 0 || proto === null) {
since null is a valid value in the original API.
Are we capturing gotchas anywhere? The fact that we turn absent parent
into Object.prototype is an ES5/3 gotcha.

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

Reply via email to