http://codereview.appspot.com/4701044/diff/3001/src/com/google/caja/es53.js File src/com/google/caja/es53.js (right):
http://codereview.appspot.com/4701044/diff/3001/src/com/google/caja/es53.js#newcode4694 src/com/google/caja/es53.js:4694: return !!(dis.getPropertyDescriptor_m___ === dis ? On 2011/07/14 05:01:01, Mark S. Miller wrote:
The fastpath test for *_m___ is only a test for truthiness, not
own-ness.
Applies many places.
Done. Also fixed the comment in the header and fastpathMethod. http://codereview.appspot.com/4701044/diff/3001/src/com/google/caja/es53.js#newcode4706 src/com/google/caja/es53.js:4706: // Test if the old "reviver" parameter was passed On 2011/07/14 05:01:01, Mark S. Miller wrote:
s/reviver/receiver/. Interesting idea.
Done. http://codereview.appspot.com/4701044/diff/3001/src/com/google/caja/es53.js#newcode4727 src/com/google/caja/es53.js:4727: // Test if the old "reviver" property was passed On 2011/07/14 05:01:01, Mark S. Miller wrote:
receiver
Done. http://codereview.appspot.com/4701044/diff/3001/src/com/google/caja/es53.js#newcode4950 src/com/google/caja/es53.js:4950: proxy.freeze___ = proxy.pe___ = proxy.seal___ = function () { On 2011/07/13 23:06:19, Mark S. Miller wrote:
I don't see how this implements any of the needed semantics beyond
invoking the
fix trap.
It doesn't. I totally spaced on that one. Now done. http://codereview.appspot.com/4701044/
