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