[Webkit-unassigned] [Bug 6915] fast/js/date-constructor.html testcase is timezone-dependent

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 17 12:58:05 PDT 2006


ap at nypop.com changed:

           What    |Removed                     |Added
   Attachment #8370|                            |review?
               Flag|                            |

------- Comment #2 from ap at nypop.com  2006-05-17 12:58 PDT -------
Created an attachment (id=8370)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=8370&action=view)
remove the offending tests

The problem here is that normalization of the year to 1970...2038 doesn't work
because of the large month value: even though we first convert year 1111 to the
desired range, the 92+ years disguised as 1111 months cause clipping in
mktime(), and the resulting year is always 2038.

The current results are incorrect even for US/Pacific time zone. And Firefox
doesn't seem to work properly here, too - the results of these two tests depend
on the time zone, which likely indicates a bug somewhere. 

I couldn't come up with a good solution to this (of course, it's easy to divide
months by 12 and add the result to years, but then the problem remains for
large day values). So, this patch just disables the tests.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list