Index: test/mjsunit/object-freeze.js |
diff --git a/test/mjsunit/object-freeze.js b/test/mjsunit/object-freeze.js |
index 5ab45e1f27fe54950987019f7de35c13f35f6639..15e19abbd18f61f6b01730745150256816f013aa 100644 |
--- a/test/mjsunit/object-freeze.js |
+++ b/test/mjsunit/object-freeze.js |
@@ -191,3 +191,7 @@ Object.defineProperty(obj5, 'y', {configurable: false, writable: false}); |
Object.preventExtensions(obj5); |
assertFalse(Object.isFrozen(obj5)); |
+ |
+// Make sure that Object.freeze returns the frozen object. |
+var obj6 = {} |
+assertTrue(obj6 === Object.freeze(obj6)) |