https://codereview.chromium.org/1011823003/diff/1/test/mjsunit/object-freeze.js
File test/mjsunit/object-freeze.js (right):
https://codereview.chromium.org/1011823003/diff/1/test/mjsunit/object-freeze.js#newcode340
test/mjsunit/object-freeze.js:340: (function
propertiesOfFrozenObjectNotFrozen() {
How are these tests related to this CL?
https://codereview.chromium.org/1011823003/diff/1/test/webkit/preventExtensions.js
File test/webkit/preventExtensions.js (right):
https://codereview.chromium.org/1011823003/diff/1/test/webkit/preventExtensions.js#newcode95
test/webkit/preventExtensions.js:95: shouldBe('var o = {};
Object.preventExtensions(o); o.__proto__ = { newProp: "Should not see
this" }; o.newProp;');
This looks strange. shouldBe takes two strings that are evaluated and
compared.
https://codereview.chromium.org/1011823003/diff/1/test/webkit/preventExtensions.js#newcode96
test/webkit/preventExtensions.js:96: shouldBe('"use strict"; var o = {};
Object.preventExtensions(o); o.__proto__ = { newProp: "Should not see
this" }; o.newProp;');
This should still throw, shouldn't it?
https://codereview.chromium.org/1011823003/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.