Since the date-big-setdate.html test case prints out the times, and since -expected.txt contains "UTC-8", it will fail if the timezone is different. Also, setDate sets different dates depending on the time zone. With UTC+1, setDate(120) sets the date to Thu Apr 30 1970 01:00:00 GMT+0100 With UTC-8, setDate(120) sets the date to Mon Mar 30 1970 16:00:00 GMT-0800 (Both Mozilla and Opera does the same thing, so this isn't a bug)
Created attachment 3268 [details] Determine if the dates are sequential This patch compares two following dates to see if they're sequential instead of printing out the dates.
Comment on attachment 3268 [details] Determine if the dates are sequential Looks to me like this has some && where it should have || in the success check. No? Also, should get rid of the unneeded "if (!validVars)".
Created attachment 3273 [details] Better test Turns out the test case was really broken. Here's a much simpler one that should work better
Landing this