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); |