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

Unified Diff: test/mjsunit/regress/regress-global-freeze-const.js

Issue 223613002: When freezing global object, go through the property cell (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months 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 | « src/objects.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-global-freeze-const.js
diff --git a/test/mjsunit/regress/regress-355485.js b/test/mjsunit/regress/regress-global-freeze-const.js
similarity index 67%
copy from test/mjsunit/regress/regress-355485.js
copy to test/mjsunit/regress/regress-global-freeze-const.js
index 3c66884c000dd5860b2bd9c82705f7a58afb28ae..0b9e1f3ebd4bb79c00db30a7b33e450e5bfe68a0 100644
--- a/test/mjsunit/regress/regress-355485.js
+++ b/test/mjsunit/regress/regress-global-freeze-const.js
@@ -2,4 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-assertEquals("\u039c", "\u00b5".toUpperCase());
+__defineSetter__('x', function() { });
+Object.freeze(this);
+eval('const x = 1');
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698