[Webkit-unassigned] [Bug 40820] New: Values passed to Date() not validated - Invalid values not trapped

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 18 02:01:06 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40820

           Summary: Values passed to Date() not validated - Invalid values
                    not trapped
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ext-sowmini.philip at nokia.com


PROBLEM STATEMENT : Date constructors automatically convert all date/time values to the corresponding time since Jan1970 without validation of values passed.
Eg,  Date("July 28, 2010 23:170")
     Date("July 32, 2010 23:17")
     Date(2010,1,30,23,170,00,00)
are all converted to valid dates.

The values passed should be validated and the fact that there doesn't exist a Feb30 or July32,etc must be detected and reported.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list