Index: test/mjsunit/regress/regress-128146.js |
diff --git a/test/mjsunit/regress/regress-128146.js b/test/mjsunit/regress/regress-128146.js |
index 012a47cd12f6d56ce27dc1d11e3803a8207df97b..5c22b4e291eb6b53e810a696ef6de42831d2c19a 100644 |
--- a/test/mjsunit/regress/regress-128146.js |
+++ b/test/mjsunit/regress/regress-128146.js |
@@ -28,3 +28,11 @@ |
Object.defineProperty({},"foo",{set:function(){},configurable:false}); |
Object.defineProperty({},"foo",{get:function(){},configurable:false}); |
Object.defineProperty({},"foo",{}); |
+ |
+// From WebKit layout tests (fast/js/prototypes.html) |
+var wasSet = false; |
+var o = { }; |
+o.__defineGetter__("__proto__", function() { wasSet = true }); |
+o.__proto__; |
+assertFalse(wasSet); |
+ |