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)) {
On 2011/07/22 17:45:24, Mark S. Miller wrote:
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.
Done.
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) {
On 2011/07/22 17:45:24, Mark S. Miller wrote:
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.
Done.
http://codereview.appspot.com/4701044/