[Webkit-unassigned] [Bug 17820] New: fast/js/date-DST-time-cusps.html and fast/js/date-big-setdate.html fail in CET time zone

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 13 01:19:40 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17820

           Summary: fast/js/date-DST-time-cusps.html and fast/js/date-big-
                    setdate.html fail in CET time zone
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at blaut.biz


Summary: 
fast/js/date-DST-time-cusps.html and fast/js/date-big-setdate.html test DST but
I suspect that these test are only valid for US time zones. I'm not 100% sure.
For me these both test fail (CET time zone). 

First diff:

--- /tmp/layout-test-results/fast/js/date-big-setdate-expected.txt     
2008-03-13 07:49:47.000000000 +0100
+++ /tmp/layout-test-results/fast/js/date-big-setdate-actual.txt       
2008-03-13 07:49:47.000000000 +0100
@@ -13,11 +13,11 @@
 PASS d.valueOf() - curValue is millisecondsPerDay
 PASS d.valueOf() - curValue is millisecondsPerDay
 PASS d.valueOf() - curValue is millisecondsPerDay
-PASS d.valueOf() - c.valueOf() is millisecondsPerDay - millisecondsPerHour
-PASS d.valueOf() - c.valueOf() is millisecondsPerDay - millisecondsPerHour
-PASS d.valueOf() - c.valueOf() is millisecondsPerDay - millisecondsPerHour
-PASS d.valueOf() - c.valueOf() is millisecondsPerDay - millisecondsPerHour
-PASS d.valueOf() - c.valueOf() is millisecondsPerDay - millisecondsPerHour
+FAIL d.valueOf() - c.valueOf() should be 82800000. Was 86400000.
+FAIL d.valueOf() - c.valueOf() should be 82800000. Was 86400000.
+FAIL d.valueOf() - c.valueOf() should be 82800000. Was 86400000.
+FAIL d.valueOf() - c.valueOf() should be 82800000. Was 86400000.
+FAIL d.valueOf() - c.valueOf() should be 82800000. Was 86400000.
 PASS successfullyParsed is true

 TEST COMPLETE

Second diff:

--- /tmp/layout-test-results/fast/js/date-DST-time-cusps-expected.txt  
2008-03-13 07:49:47.000000000 +0100
+++ /tmp/layout-test-results/fast/js/date-DST-time-cusps-actual.txt    
2008-03-13 07:49:47.000000000 +0100
@@ -3,10 +3,10 @@
 On success, you will see a series of "PASS" messages, followed by "TEST
COMPLETE".


-PASS (new Date(1982, 2, 14, 2, 10)).getHours() is 1
-PASS (new Date(1982, 2, 14, 2)).getHours() is 1
-PASS (new Date(1982, 11, 7, 1, 10)).getTimezoneOffset() is 480
-PASS (new Date(1982, 11, 7, 1)).getTimezoneOffset() is 480
+FAIL (new Date(1982, 2, 14, 2, 10)).getHours() should be 1. Was 2.
+FAIL (new Date(1982, 2, 14, 2)).getHours() should be 1. Was 2.
+FAIL (new Date(1982, 11, 7, 1, 10)).getTimezoneOffset() should be 480. Was
-60.
+FAIL (new Date(1982, 11, 7, 1)).getTimezoneOffset() should be 480. Was -60.
 PASS successfullyParsed is true

 TEST COMPLETE


-- 
Configure bugmail: http://bugs.webkit.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