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