blob: 7b45a61af1ef384e8c5a66ad02001cbc6e32b60c [file] [log] [blame]
Test for correct properties on Error objects.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Object.keys(error).sort() is []
PASS Object.keys(nativeError).sort() is []
PASS Object.getOwnPropertyNames(error).sort() is ["column", "line", "message", "sourceURL", "stack"]
PASS Object.getOwnPropertyNames(nativeError).sort() is ["column", "line", "message", "sourceURL", "stack"]
PASS Object.getPrototypeOf(nativeError).name is "RangeError"
PASS Object.getPrototypeOf(nativeError).message is ""
PASS successfullyParsed is true
TEST COMPLETE