blob: ca74422386443a06a109883858e30b4350f0a2eb [file] [log] [blame]
Tests: Object.prototype.toLocaleString(). Related bug: 3989 JSC doesn't implement Object.prototype.toLocaleString()
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS o.toLocaleString() is o.toString()
PASS o.toLocaleString() is "Dynamic toLocaleString()"
PASS Object.prototype.toLocaleString.call('Hello, world!') is "Hello, world!"
PASS Object.prototype.toLocaleString.call('Hello, world!') is "stringPrototypeToString"
PASS obj.toLocaleString() is obj.toString()
PASS obj.toLocaleString() threw exception TypeError: Type error.
PASS successfullyParsed is true
TEST COMPLETE