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

Unified Diff: test/mjsunit/regress/regress-133211b.js

Issue 10575018: Fixing ClearNonLiveTransition bug in combination with AccessorPairs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 6 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-133211b.js
diff --git a/test/mjsunit/regress/regress-1369.js b/test/mjsunit/regress/regress-133211b.js
similarity index 87%
copy from test/mjsunit/regress/regress-1369.js
copy to test/mjsunit/regress/regress-133211b.js
index 48a8e7ede043a63073be00ca6d646e4db1f3b253..87e35f4561643dca7b9b9915c8bc4a7ef47a7a4a 100644
--- a/test/mjsunit/regress/regress-1369.js
+++ b/test/mjsunit/regress/regress-133211b.js
@@ -27,5 +27,13 @@
// Flags: --expose-gc
-assertDoesNotThrow('gc.call(1)');
-assertDoesNotThrow('gc.call("asdf")');
+setter = function(x) { return; }
+var o = {};
+Object.defineProperty(o, "foo", { set: setter });
+var x = {};
+Object.defineProperty(x, "foo", { set: setter });
+x.bar = 20;
+x = {};
+gc();
+o.foo = 20;
+assertEquals(undefined, o.foo);
« 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