| OLD | NEW |
| 1 This test checks that setting a cyclic value for __proto__ throws an exception a
nd does not alter __proto__. This was reported as bug 17927. | 1 This test checks that setting a cyclic value for __proto__ throws an exception a
nd does not alter __proto__. This was reported as bug 17927. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS x.__proto__ = x; threw exception Error: Cyclic __proto__ value. | 6 PASS x.__proto__ = x; threw exception TypeError: Cyclic __proto__ value. |
| 7 PASS x.__proto__ is originalProto | 7 PASS x.__proto__ is originalProto |
| 8 PASS successfullyParsed is true | 8 PASS successfullyParsed is true |
| 9 | 9 |
| 10 TEST COMPLETE | 10 TEST COMPLETE |
| 11 | 11 |
| OLD | NEW |