Index: test/webkit/date-utc-timeclip-expected.txt |
diff --git a/test/webkit/concat-while-having-a-bad-time-expected.txt b/test/webkit/date-utc-timeclip-expected.txt |
similarity index 75% |
copy from test/webkit/concat-while-having-a-bad-time-expected.txt |
copy to test/webkit/date-utc-timeclip-expected.txt |
index f949db98fd7b911d30b20281c82ee0f801405c77..4901631d59c8d8f729458d1be81c33c57fcac8f8 100644 |
--- a/test/webkit/concat-while-having-a-bad-time-expected.txt |
+++ b/test/webkit/date-utc-timeclip-expected.txt |
@@ -21,12 +21,19 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating. |
+Date.UTC() should apply TimeClip operation according to ECMA-262. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS [42].concat() is [42] |
+PASS Date.UTC(275760, 8, 12, 23, 59, 59, 999) is 8639999999999999 |
+PASS Date.UTC(275760, 8, 13) is 8640000000000000 |
+PASS isNaN(Date.UTC(275760, 8, 13, 0, 0, 0, 1)) is true |
+PASS isNaN(Date.UTC(275760, 8, 14)) is true |
+PASS Date.UTC(-271821, 3, 20, 0, 0, 0, 1) is -8639999999999999 |
+PASS Date.UTC(-271821, 3, 20) is -8640000000000000 |
+PASS isNaN(Date.UTC(-271821, 3, 19, 23, 59, 59, 999)) is true |
+PASS isNaN(Date.UTC(-271821, 3, 19)) is true |
PASS successfullyParsed is true |
TEST COMPLETE |