[Webkit-unassigned] [Bug 13472] Misparsing date in javascript leads to year value of -1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 18 12:09:47 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=13472
rwlbuis at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16315| |review?
Flag| |
------- Comment #3 from rwlbuis at gmail.com 2007-09-18 12:09 PDT -------
Created an attachment (id=16315)
--> (http://bugs.webkit.org/attachment.cgi?id=16315&action=view)
First attempt
This patch should fix the problem. However there are some things I am wondering
about:
- mozilla is very liberal with ',', basically making it act as whitespace and
things like this work:
javascript:void(alert(new Date( '24 May,,,,,,2007 15:35:00' )))
I wonder if we want to go that way?
- not sure where to add/change a testcase for this?
Cheers,
Rob.
--
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