Some ecma tests fail because of DST

NEW
Unassigned

Status

()

defect
9 years ago
5 years ago

People

(Reporter: glandium, Unassigned)

Tracking

(Depends on 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

9 years ago
It looks like several ecma tests in js/src/tests/ecma/Date fail because of the lack of handling of daylight saving in jsref.js.
Here are the failures I get:
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270160875005)).getHours() wrong value  item 1
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270164475005)).getHours() wrong value  item 2
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270168075005)).getHours() wrong value  item 3
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270171675005)).getHours() wrong value  item 4
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270175275005)).getHours() wrong value  item 5
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.14.js | (new Date(1270178875005)).getHours() wrong value  item 6
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.28-1.js | TDATE = new Date(946684800000);(TDATE).setMinutes(1234567);TDATE.getTime() wrong value  item 86
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.28-1.js | TDATE = new Date(946684800000);(TDATE).setMinutes(1234567);TDATE.valueOf() wrong value  item 87
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.28-1.js | TDATE = new Date(946684800000);(TDATE).setMinutes(1234567);TDATE.getUTCHours() wrong value  item 91
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.29-1.js | TDATE = new Date(946684800000);(TDATE).setUTCMinutes(1234567);TDATE.getHours() wrong value  item 98
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.34-1.js | TDATE = new Date(TIME_NOW); (TDATE).setMonth(11,31); TDATE.getTime() wrong value  item 22
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.34-1.js | TDATE = new Date(TIME_NOW); (TDATE).setMonth(11,31); TDATE.valueOf() wrong value  item 23
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.34-1.js | TDATE = new Date(TIME_NOW); (TDATE).setMonth(11,31); TDATE.getUTCHours() wrong value  item 28
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.34-1.js | TDATE = new Date(TIME_NOW); (TDATE).setMonth(11,31); TDATE.getHours() wrong value  item 36
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.35-1.js | TDATE = new Date(0);(TDATE).setUTCMonth(5,4);TDATE.getHours() wrong value  item 53
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62159356800001)).getMonth() wrong value  item 73
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62156764800001)).getMonth() wrong value  item 78
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62154086400001)).getMonth() wrong value  item 83
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62151494400001)).getMonth() wrong value  item 88
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62148816000001)).getMonth() wrong value  item 93
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62146137600001)).getMonth() wrong value  item 98
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62143545600001)).getMonth() wrong value  item 103
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-62140867200001)).getMonth() wrong value  item 108
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(7775999999)).getMonth() wrong value  item 133
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(10367999999)).getMonth() wrong value  item 138
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(13046399999)).getMonth() wrong value  item 143
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(15638399999)).getMonth() wrong value  item 148
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(18316799999)).getMonth() wrong value  item 153
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(20995199999)).getMonth() wrong value  item 158
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(23587199999)).getMonth() wrong value  item 163
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(26265599999)).getMonth() wrong value  item 168
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2201212800001)).getMonth() wrong value  item 193
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2198620800001)).getMonth() wrong value  item 198
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2195942400001)).getMonth() wrong value  item 203
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2193350400001)).getMonth() wrong value  item 208
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2190672000001)).getMonth() wrong value  item 213
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2187993600001)).getMonth() wrong value  item 218
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2185401600001)).getMonth() wrong value  item 223
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(-2182723200001)).getMonth() wrong value  item 228
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(954547199999)).getMonth() wrong value  item 253
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(957139199999)).getMonth() wrong value  item 258
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(959817599999)).getMonth() wrong value  item 263
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(962409599999)).getMonth() wrong value  item 268
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(965087999999)).getMonth() wrong value  item 273
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(967766399999)).getMonth() wrong value  item 278
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(970358399999)).getMonth() wrong value  item 283
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(973036799999)).getMonth() wrong value  item 288
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1112313599999)).getMonth() wrong value  item 373
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1114905599999)).getMonth() wrong value  item 378
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1117583999999)).getMonth() wrong value  item 383
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1120175999999)).getMonth() wrong value  item 388
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1122854399999)).getMonth() wrong value  item 393
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1125532799999)).getMonth() wrong value  item 398
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1128124799999)).getMonth() wrong value  item 403
REFTEST TEST-UNEXPECTED-FAIL | file:///tmp/buildd/xulrunner-1.9.2.2/js/src/tests/jsreftest.html?test=ecma/Date/15.9.5.8.js | (new Date(1130803199999)).getMonth() wrong value  item 408
Bug 552218 is already filed about at least some of these failures - I don't know if they all have the same root cause.
Depends on: 934238
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.