Index: test/mjsunit/object-seal-global.js |
diff --git a/test/mjsunit/readonly-accessor.js b/test/mjsunit/object-seal-global.js |
similarity index 65% |
copy from test/mjsunit/readonly-accessor.js |
copy to test/mjsunit/object-seal-global.js |
index 5a73525fea60d67074d81e392d08d8448f8ae39d..ec9f82e9bff5c73208b08b8a69c84405b2a5e823 100644 |
--- a/test/mjsunit/readonly-accessor.js |
+++ b/test/mjsunit/object-seal-global.js |
@@ -2,6 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-var foo = {}; |
-foo.__proto__ = new String("bar"); |
-foo.length = 20; |
+Object.seal(this); |
+assertTrue(Object.isSealed(this)); |
+assertFalse(Object.isFrozen(this)); |