Chromium Code Reviews| Index: test/mjsunit/object-seal.js |
| =================================================================== |
| --- test/mjsunit/object-seal.js (revision 5173) |
| +++ test/mjsunit/object-seal.js (working copy) |
| @@ -193,3 +193,7 @@ |
| Object.preventExtensions(obj4); |
| assertFalse(Object.isSealed(obj4)); |
| + |
| +// Make sure that Object.seal returns the sealed object. |
| +var obj4 = {} |
| +assertTrue(obj4 === Object.seal(obj4)) |