[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    tests/khtmltests/regression/tests/js
From:       Maks Orlovich <maksim () kde ! org>
Date:       2007-10-24 0:14:51
Message-ID: 1193184891.847703.410.nullmailer () svn ! kde ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic