Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
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
+
"\""
;