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