blob: c2a268b128964b81602b025c5162f7c67392fdd5 [file] [log] [blame]
This test checks that setting a cyclic value for __proto__ throws an exception and does not alter __proto__. This was reported as bug 17927.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS x.__proto__ = x; threw exception TypeError: cyclic __proto__ value.
PASS x.__proto__ is originalProto
PASS successfullyParsed is true
TEST COMPLETE