Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
JSTests
/
stress
/
regress-159883.js
blob: dfc0ab729ff51592cdb6f94bec119890b32fa348 [
file
] [
log
] [
blame
]
// Regression test for 159883. This test should not crash or throw an exception.
d
=
new
Date
(-
0x80000000
,
42
);
if
(
d
.
toString
()
!=
"Invalid Date"
)
throw
"Expected \"Invalid Date\", but got :\""
+
d
+
"\""
;