blob: 9e6e27162b30e307ed44c8ede2b177feff346eeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|