Index: test/mjsunit/object-freeze-global.js |
diff --git a/test/mjsunit/regress/regress-crbug-351262.js b/test/mjsunit/object-freeze-global.js |
similarity index 75% |
copy from test/mjsunit/regress/regress-crbug-351262.js |
copy to test/mjsunit/object-freeze-global.js |
index a2f4eadc0de5c2bd7d27f6e78ff9940fce7b0f85..8ab5b8529bc90719a4051412f321cd4de507db75 100644 |
--- a/test/mjsunit/regress/regress-crbug-351262.js |
+++ b/test/mjsunit/object-freeze-global.js |
@@ -2,5 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-for (var x in this) {}; |
-JSON.stringify(this); |
+Object.freeze(this); |
+assertTrue(Object.isFrozen(this)); |