http://codereview.chromium.org/5676005/diff/6001/test/mjsunit/json.js
File test/mjsunit/json.js (right):

http://codereview.chromium.org/5676005/diff/6001/test/mjsunit/json.js#newcode81
test/mjsunit/json.js:81:
Added test:

var d7 = {toJSON: Date.prototype.toJSON,
          ISOString: "not callable"};
assertThrows("d7.toJSON()", TypeError);

http://codereview.chromium.org/5676005/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to