Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: test/mjsunit/object-freeze-global.js

Issue 776143005: Optimize Object.seal and Object.preventExtensions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add nonextensible and sealed as special transitions Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/object-freeze.js ('k') | test/mjsunit/object-prevent-extensions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/object-freeze-global.js
diff --git a/test/mjsunit/regress/regress-355485.js b/test/mjsunit/object-freeze-global.js
similarity index 75%
copy from test/mjsunit/regress/regress-355485.js
copy to test/mjsunit/object-freeze-global.js
index 3c66884c000dd5860b2bd9c82705f7a58afb28ae..8ab5b8529bc90719a4051412f321cd4de507db75 100644
--- a/test/mjsunit/regress/regress-355485.js
+++ b/test/mjsunit/object-freeze-global.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-assertEquals("\u039c", "\u00b5".toUpperCase());
+Object.freeze(this);
+assertTrue(Object.isFrozen(this));
« no previous file with comments | « test/mjsunit/object-freeze.js ('k') | test/mjsunit/object-prevent-extensions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698