haikuwebkit/LayoutTests/js/dom/native-error-prototype-expe...

15 lines
438 B
Plaintext

This is a test case for bugs 55346, 70889, and 75452.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ({}).toString.call(Error.prototype) is "[object Object]"
PASS ({}).toString.call(RangeError.prototype) is "[object Object]"
PASS err.toString() is "message"
PASS err.hasOwnProperty('message') is false
PASS err.hasOwnProperty('message') is false
PASS successfullyParsed is true
TEST COMPLETE