blob: ff873070f23cfcfda7d40824f51b4b2c8392dbc5 [file] [log] [blame]
Tests that we do ToString conversions correctly when String.prototype.valueOf is initially fine but then gets clobbered, and was a dictionary all along.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "hello"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS "" + foo("hello") is "42"
PASS successfullyParsed is true
TEST COMPLETE