18 lines
740 B
Plaintext
18 lines
740 B
Plaintext
This test makes sure we don't hang when setting cyclic prototype values: http://bugs.webkit.org/show_bug.cgi?id=6985
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS o1.__proto__ = o3; threw exception TypeError: cyclic __proto__ value.
|
|
PASS Object.setPrototypeOf(o1, o3) threw exception TypeError: cyclic __proto__ value.
|
|
PASS globalException.constructor is TypeError
|
|
PASS globalException.constructor is TypeError
|
|
PASS ({}).hasOwnProperty.call(o1, '__proto__') is false
|
|
PASS ({}).hasOwnProperty.call(o1, '__proto__') is true
|
|
PASS Object.getPrototypeOf(o1) is null
|
|
PASS Object.setPrototypeOf(o1, o3) threw exception TypeError: cyclic __proto__ value.
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|