Index: test/mjsunit/object-seal.js |
diff --git a/test/mjsunit/object-seal.js b/test/mjsunit/object-seal.js |
index 896411ca3f7d75663cf37f17bad560ff66fc19e2..9e7f44b9c6857757d4d660896913097e3b547278 100644 |
--- a/test/mjsunit/object-seal.js |
+++ b/test/mjsunit/object-seal.js |
@@ -193,3 +193,7 @@ Object.defineProperty(obj4, 'y', {configurable: false, writable: false}); |
Object.preventExtensions(obj4); |
assertFalse(Object.isSealed(obj4)); |
+ |
+// Make sure that Object.seal returns the sealed object. |
+var obj4 = {} |
+assertTrue(obj4 === Object.seal(obj4)) |