Status: New
Owner: ----
New issue 3458 by [email protected]: Object.freeze fails to work in
certain cases in version 3.26 and 3.27
http://code.google.com/p/v8/issues/detail?id=3458
Recently, since the release of Chrome 36, we started having an issue with
frozen objects not always being frozen.
Reproduces with:
function OuterClass(){}
function test(){
function InnerClass(){}
//var container = {field: Object.freeze({})}; // WORKS
//var container = {field: Object.freeze(new OuterClass())}; // WORKS
var container = {field: Object.freeze(new InnerClass())}; // FAILS
return Object.freeze(container);
};
console.log(Object.isFrozen(test())); // ALWAYS TRUE
console.log(Object.isFrozen(test())); // FALSE WHEN FAILS
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
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.