SVN commit 728710 by orlovich: A test for cyclic prototype chains. M +1 -0 prototype_proto.js --- trunk/tests/khtmltests/regression/tests/js/prototype_proto.js #728709:728710 @@ -7,3 +7,4 @@ shouldBe("Date.prototype.__proto__","Object.prototype"); shouldBe("RegExp.prototype.__proto__","Object.prototype"); shouldBe("Error.prototype.__proto__","Object.prototype"); +shouldBe("o = {}; v = 'FAIL'; try { o.__proto__ = o; } catch (e) { v = 'PA' }; o.foo = 'SS'; v = v + o.foo;","'PASS'"); \ No newline at end of file