test262
test262 copied to clipboard
Does test262 Date depends on specific timezone or not affect by the timezone
May timezone is GTM+8, the failure tests are
test262/test/annexB/built-ins/Date/prototype/getYear/return-value.js:15: Test262Error: 1899: first millisecond Expected SameValue(«-56», «-1») to be true
test262/test/annexB/built-ins/Date/prototype/getYear/return-value.js:15: strict mode: Test262Error: 1899: first millisecond Expected SameValue(«-56», «-1») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/this-time-valid.js:15: Test262Error: method return value Expected SameValue(«44847739016», «35734992008») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/this-time-valid.js:15: strict mode: Test262Error: method return value Expected SameValue(«44847739016», «35734992008») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/time-clip.js:16: Test262Error: method return value (valid date) Expected SameValue(«NaN», «NaN») to be false
test262/test/annexB/built-ins/Date/prototype/setYear/time-clip.js:16: strict mode: Test262Error: method return value (valid date) Expected SameValue(«NaN», «NaN») to be false
test262/test/annexB/built-ins/Date/prototype/setYear/year-number-absolute.js:18: Test262Error: Expected SameValue(«-56», «-1») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/year-number-absolute.js:18: strict mode: Test262Error: Expected SameValue(«-56», «-1») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/year-number-relative.js:17: Test262Error: y = -0.999999 Expected SameValue(«1845», «1900») to be true
test262/test/annexB/built-ins/Date/prototype/setYear/year-number-relative.js:17: strict mode: Test262Error: y = -0.999999 Expected SameValue(«1845», «1900») to be true
test262/test/built-ins/Atomics/or/bigint/good-views.js:10: Test262Error: The value of view[8] equals the value of `control[0]` (0xF7F7F7F7n) Expected SameValue(«-134744073», «4160223223») to be true (Testing with BigInt64Array.)
test262/test/built-ins/Atomics/or/bigint/good-views.js:10: strict mode: Test262Error: The value of view[8] equals the value of `control[0]` (0xF7F7F7F7n) Expected SameValue(«-134744073», «4160223223») to be true (Testing with BigInt64Array.)
test262/test/built-ins/Atomics/xor/bigint/good-views.js:17: Test262Error: The value of view[8] equals the value of `control[0]` (0x96969696n) Expected SameValue(«-1768515946», «2526451350») to be true (Testing with BigInt64Array.)
test262/test/built-ins/Atomics/xor/bigint/good-views.js:17: strict mode: Test262Error: The value of view[8] equals the value of `control[0]` (0x96969696n) Expected SameValue(«-1768515946», «2526451350») to be true (Testing with BigInt64Array.)
test262/test/built-ins/Date/S15.9.3.1_A5_T1.js:19: Test262Error: Expected Sat Mar 15 1845 11:19:07 GMT-48000000 to be -2211667200000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T1.js:19: strict mode: Test262Error: Expected Sat Mar 15 1845 11:19:07 GMT-48000000 to be -2211667200000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T2.js:19: Test262Error: Expected Mon Apr 14 1845 11:19:07 GMT-48000000 to be -2209075200000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T2.js:19: strict mode: Test262Error: Expected Mon Apr 14 1845 11:19:07 GMT-48000000 to be -2209075200000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T3.js:19: Test262Error: Expected Tue Apr 15 1845 10:19:07 GMT-48000000 to be -2208992400000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T3.js:19: strict mode: Test262Error: Expected Tue Apr 15 1845 10:19:07 GMT-48000000 to be -2208992400000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T4.js:19: Test262Error: Expected Tue Apr 15 1845 11:18:07 GMT-48000000 to be -2208988860000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T4.js:19: strict mode: Test262Error: Expected Tue Apr 15 1845 11:18:07 GMT-48000000 to be -2208988860000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T5.js:19: Test262Error: Expected Tue Apr 15 1845 11:19:06 GMT-48000000 to be -2208988801000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T5.js:19: strict mode: Test262Error: Expected Tue Apr 15 1845 11:19:06 GMT-48000000 to be -2208988801000 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T6.js:19: Test262Error: Expected Tue Apr 15 1845 11:19:07 GMT-48000000 to be -2208988800001 milliseconds from the Unix epoch
test262/test/built-ins/Date/S15.9.3.1_A5_T6.js:19: strict mode: Test262Error: Expected Tue Apr 15 1845 11:19:07 GMT-48000000 to be -2208988800001 milliseconds from the Unix epoch
test262/test/built-ins/Date/parse/without-utc-offset.js:14: Test262Error: Expected SameValue(«1423147008», «1728000000000») to be true
test262/test/built-ins/Date/parse/without-utc-offset.js:14: strict mode: Test262Error: Expected SameValue(«1423147008», «1728000000000») to be true
test262/test/built-ins/Date/parse/zero.js:27: Test262Error: Date.parse(zeroDate.toString()) Expected SameValue(«0», «-1727827200000») to be true
test262/test/built-ins/Date/parse/zero.js:27: strict mode: Test262Error: Date.parse(zeroDate.toString()) Expected SameValue(«0», «-1727827200000») to be true
test262/test/built-ins/Date/prototype/getDate/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«19», «6») to be true
test262/test/built-ins/Date/prototype/getDate/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«19», «6») to be true
test262/test/built-ins/Date/prototype/getDay/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«4», «3») to be true
test262/test/built-ins/Date/prototype/getDay/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«4», «3») to be true
test262/test/built-ins/Date/prototype/getFullYear/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«1961», «2016») to be true
test262/test/built-ins/Date/prototype/getFullYear/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«1961», «2016») to be true
test262/test/built-ins/Date/prototype/getHours/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«0», «13») to be true
test262/test/built-ins/Date/prototype/getHours/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«0», «13») to be true
test262/test/built-ins/Date/prototype/getMilliseconds/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«8», «0») to be true
test262/test/built-ins/Date/prototype/getMilliseconds/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«8», «0») to be true
test262/test/built-ins/Date/prototype/getMinutes/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«25», «6») to be true
test262/test/built-ins/Date/prototype/getMinutes/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«25», «6») to be true
test262/test/built-ins/Date/prototype/getMonth/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«9», «6») to be true
test262/test/built-ins/Date/prototype/getMonth/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«9», «6») to be true
test262/test/built-ins/Date/prototype/getSeconds/this-value-valid-date.js:12: Test262Error: first millisecond Expected SameValue(«37», «30») to be true
test262/test/built-ins/Date/prototype/getSeconds/this-value-valid-date.js:12: strict mode: Test262Error: first millisecond Expected SameValue(«37», «30») to be true
test262/test/built-ins/Date/prototype/setDate/arg-to-number.js:34: Test262Error: application of specified value Expected SameValue(«-258859305984», «1468840747008») to be true
test262/test/built-ins/Date/prototype/setDate/arg-to-number.js:34: strict mode: Test262Error: application of specified value Expected SameValue(«-258859305984», «1468840747008») to be true
test262/test/built-ins/Date/prototype/setDate/this-value-valid-date.js:21: Test262Error: within unit boundary (return value) Expected SameValue(«-258513705984», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setDate/this-value-valid-date.js:21: strict mode: Test262Error: within unit boundary (return value) Expected SameValue(«-258513705984», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-date-to-number.js:39: Test262Error: application of specified value Expected SameValue(«1468923277018», «1468882530010») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-date-to-number.js:39: strict mode: Test262Error: application of specified value Expected SameValue(«1468923277018», «1468882530010») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-month-to-number.js:39: Test262Error: application of specified value Expected SameValue(«1459937677018», «1458773730010») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-month-to-number.js:39: strict mode: Test262Error: application of specified value Expected SameValue(«1459937677018», «1458773730010») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-year-to-number.js:39: Test262Error: application of specified value Expected SameValue(«-62077326322982», «-62086439069990») to be true
test262/test/built-ins/Date/prototype/setFullYear/arg-year-to-number.js:39: strict mode: Test262Error: application of specified value Expected SameValue(«-62077326322982», «-62086439069990») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-date.js:25: Test262Error: date within unit boundary (return value) Expected SameValue(«1469227094016», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-date.js:25: strict mode: Test262Error: date within unit boundary (return value) Expected SameValue(«1469227094016», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-month.js:25: Test262Error: month within unit boundary (return value) Expected SameValue(«1462055894016», «1460891947008») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-month.js:25: strict mode: Test262Error: month within unit boundary (return value) Expected SameValue(«1462055894016», «1460891947008») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-year.js:25: Test262Error: year (return value) Expected SameValue(«1446244694016», «1437131947008») to be true
test262/test/built-ins/Date/prototype/setFullYear/this-value-valid-date-year.js:25: strict mode: Test262Error: year (return value) Expected SameValue(«1446244694016», «1437131947008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-hour-to-number.js:40: Test262Error: application of specified value Expected SameValue(«-257854905984», «1468761547008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-hour-to-number.js:40: strict mode: Test262Error: application of specified value Expected SameValue(«-257854905984», «1468761547008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-min-to-number.js:40: Test262Error: application of specified value Expected SameValue(«-257863125984», «1468754467008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-min-to-number.js:40: strict mode: Test262Error: application of specified value Expected SameValue(«-257863125984», «1468754467008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-ms-to-number.js:40: Test262Error: application of specified value Expected SameValue(«-257863252990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setHours/arg-ms-to-number.js:40: strict mode: Test262Error: application of specified value Expected SameValue(«-257863252990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setHours/arg-sec-to-number.js:40: Test262Error: application of specified value Expected SameValue(«-257863250984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setHours/arg-sec-to-number.js:40: strict mode: Test262Error: application of specified value Expected SameValue(«-257863250984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-hour.js:26: Test262Error: hour within unit boundary (return value) Expected SameValue(«-257840505984», «1468775947008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-hour.js:26: strict mode: Test262Error: hour within unit boundary (return value) Expected SameValue(«-257840505984», «1468775947008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-min.js:26: Test262Error: minute within unit boundary (return value) Expected SameValue(«-257861865984», «1468755727008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-min.js:26: strict mode: Test262Error: minute within unit boundary (return value) Expected SameValue(«-257861865984», «1468755727008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-ms.js:26: Test262Error: millisecond within unit boundary (return value) Expected SameValue(«-257863252449», «1468754347551») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-ms.js:26: strict mode: Test262Error: millisecond within unit boundary (return value) Expected SameValue(«-257863252449», «1468754347551») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-sec.js:26: Test262Error: second within unit boundary (return value) Expected SameValue(«-257863207984», «1468754392008») to be true
test262/test/built-ins/Date/prototype/setHours/this-value-valid-date-sec.js:26: strict mode: Test262Error: second within unit boundary (return value) Expected SameValue(«-257863207984», «1468754392008») to be true
test262/test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js:35: Test262Error: application of specified value Expected SameValue(«-257822505990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setMilliseconds/arg-to-number.js:35: strict mode: Test262Error: application of specified value Expected SameValue(«-257822505990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setMilliseconds/this-value-valid-date.js:21: Test262Error: within unit boundary (return value) Expected SameValue(«-257822505659», «1468754347341») to be true
test262/test/built-ins/Date/prototype/setMilliseconds/this-value-valid-date.js:21: strict mode: Test262Error: within unit boundary (return value) Expected SameValue(«-257822505659», «1468754347341») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-min-to-number.js:38: Test262Error: application of specified value Expected SameValue(«-257823525984», «1468754467008») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-min-to-number.js:38: strict mode: Test262Error: application of specified value Expected SameValue(«-257823525984», «1468754467008») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-ms-to-number.js:38: Test262Error: application of specified value Expected SameValue(«-257823652990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-ms-to-number.js:38: strict mode: Test262Error: application of specified value Expected SameValue(«-257823652990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-sec-to-number.js:38: Test262Error: application of specified value Expected SameValue(«-257823650984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setMinutes/arg-sec-to-number.js:38: strict mode: Test262Error: application of specified value Expected SameValue(«-257823650984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setMinutes/this-value-valid-date.js:25: Test262Error: minute within unit boundary (return value) Expected SameValue(«-257822265984», «1468755727008») to be true
test262/test/built-ins/Date/prototype/setMinutes/this-value-valid-date.js:25: strict mode: Test262Error: minute within unit boundary (return value) Expected SameValue(«-257822265984», «1468755727008») to be true
test262/test/built-ins/Date/prototype/setMonth/arg-date-to-number.js:37: Test262Error: application of specified value Expected SameValue(«-266766322982», «1468882530010») to be true
test262/test/built-ins/Date/prototype/setMonth/arg-date-to-number.js:37: strict mode: Test262Error: application of specified value Expected SameValue(«-266766322982», «1468882530010») to be true
test262/test/built-ins/Date/prototype/setMonth/arg-month-to-number.js:39: Test262Error: application of specified value Expected SameValue(«-275751922982», «1458773730010») to be true
test262/test/built-ins/Date/prototype/setMonth/arg-month-to-number.js:39: strict mode: Test262Error: application of specified value Expected SameValue(«-275751922982», «1458773730010») to be true
test262/test/built-ins/Date/prototype/setMonth/this-value-valid-date-date.js:23: Test262Error: date within unit boundary (return value) Expected SameValue(«-266462505984», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setMonth/this-value-valid-date-date.js:23: strict mode: Test262Error: date within unit boundary (return value) Expected SameValue(«-266462505984», «1469186347008») to be true
test262/test/built-ins/Date/prototype/setMonth/this-value-valid-date-month.js:23: Test262Error: month within unit boundary (return value) Expected SameValue(«-273633705984», «1460891947008») to be true
test262/test/built-ins/Date/prototype/setMonth/this-value-valid-date-month.js:23: strict mode: Test262Error: month within unit boundary (return value) Expected SameValue(«-273633705984», «1460891947008») to be true
test262/test/built-ins/Date/prototype/setSeconds/arg-ms-to-number.js:37: Test262Error: application of specified value Expected SameValue(«-257822512990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setSeconds/arg-ms-to-number.js:37: strict mode: Test262Error: application of specified value Expected SameValue(«-257822512990», «1468754347010») to be true
test262/test/built-ins/Date/prototype/setSeconds/arg-sec-to-number.js:37: Test262Error: application of specified value Expected SameValue(«-257822510984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setSeconds/arg-sec-to-number.js:37: strict mode: Test262Error: application of specified value Expected SameValue(«-257822510984», «1468754349008») to be true
test262/test/built-ins/Date/prototype/setSeconds/this-value-valid-date-ms.js:23: Test262Error: millisecond within unit boundary (return value) Expected SameValue(«-257822512449», «1468754347551») to be true
test262/test/built-ins/Date/prototype/setSeconds/this-value-valid-date-ms.js:23: strict mode: Test262Error: millisecond within unit boundary (return value) Expected SameValue(«-257822512449», «1468754347551») to be true
test262/test/built-ins/Date/prototype/setSeconds/this-value-valid-date-sec.js:23: Test262Error: second within unit boundary (return value) Expected SameValue(«-257822467984», «1468754392008») to be true
test262/test/built-ins/Date/prototype/setSeconds/this-value-valid-date-sec.js:23: strict mode: Test262Error: second within unit boundary (return value) Expected SameValue(«-257822467984», «1468754392008») to be true
test262/test/built-ins/Date/prototype/toDateString/format.js:13: Test262Error: Expected SameValue(«null», «null») to be false
test262/test/built-ins/Date/prototype/toDateString/format.js:13: strict mode: Test262Error: Expected SameValue(«null», «null») to be false
test262/test/built-ins/Date/prototype/toDateString/negative-year.js:13: Test262Error: Date.prototype.toDateString serializes year -1 to "-0001" Expected SameValue(«-0056», «-0001») to be true
test262/test/built-ins/Date/prototype/toDateString/negative-year.js:13: strict mode: Test262Error: Date.prototype.toDateString serializes year -1 to "-0001" Expected SameValue(«-0056», «-0001») to be true
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js:12: Test262Error: localDate.toISOString() Expected SameValue(«1945-01-22T21:29:17.018Z», «1999-10-10T10:10:10.010Z») to be true
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-4.js:12: strict mode: Test262Error: localDate.toISOString() Expected SameValue(«1945-01-22T21:29:17.018Z», «1999-10-10T10:10:10.010Z») to be true
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js:24: RangeError: Date value is NaN
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-9.js:24: strict mode: RangeError: Date value is NaN
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js:24: RangeError: Date value is NaN
test262/test/built-ins/Date/prototype/toISOString/15.9.5.43-0-10.js:24: strict mode: RangeError: Date value is NaN
test262/test/built-ins/Date/prototype/toString/format.js:14: Test262Error: Expected SameValue(«null», «null») to be false
test262/test/built-ins/Date/prototype/toString/format.js:14: strict mode: Test262Error: Expected SameValue(«null», «null») to be false
test262/test/built-ins/Date/prototype/toString/negative-year.js:13: Test262Error: Date.prototype.toString serializes year -1 to "-0001" Expected SameValue(«-0056», «-0001») to be true
test262/test/built-ins/Date/prototype/toString/negative-year.js:13: strict mode: Test262Error: Date.prototype.toString serializes year -1 to "-0001" Expected SameValue(«-0056», «-0001») to be true
test262/test/built-ins/Date/prototype/toTimeString/format.js:13: Test262Error: Expected SameValue(«null», «null») to be false
test262/test/built-ins/Date/prototype/toTimeString/format.js:13: strict mode: Test262Error: Expected SameValue(«null», «null») to be false
Which engine is producing these results?
Which engine is producing these results?
I am using quickjs to producing this, when the timzone is 0, the tests passed
I cannot observe diff in the test results when I have different timezones. I tried both by exporting TZ in the terminal and the computers' timezone with the matching date and time.
test262-harness -t 32 --hostType=d8 --hostPath=v8 test/built-ins/Date/prototype/**/*
Ran 1188 tests
1188 passed
0 failed
Same results for v8, SpiderMonkey, JSC, and XS. There is one single test that always fails in engine262.
I also tried with the other files from the Date folder, not limited to the prototype/**/*.
I cannot observe diff in the test results when I have different timezones. I tried both by exporting TZ in the terminal and the computers' timezone with the matching date and time.
test262-harness -t 32 --hostType=d8 --hostPath=v8 test/built-ins/Date/prototype/**/* Ran 1188 tests 1188 passed 0 failedSame results for v8, SpiderMonkey, JSC, and XS. There is one single test that always fails in engine262.
I also tried with the other files from the Date folder, not limited to the
prototype/**/*.
Thanks a lot, I guess it's the issue of quickjs