Index: test/mjsunit/object-freeze.js |
=================================================================== |
--- test/mjsunit/object-freeze.js (revision 5173) |
+++ test/mjsunit/object-freeze.js (working copy) |
@@ -191,3 +191,7 @@ |
Object.preventExtensions(obj5); |
assertFalse(Object.isFrozen(obj5)); |
+ |
+// Make sure that Object.freeze returns the frozen object. |
+var obj6 = {} |
+assertTrue(obj6 === Object.freeze(obj6)) |