[webkit-reviews] [PATCH] Bug #3366: Site failure: qixo.com farefinder

Nate Cook nate at natecook.com
Thu Jun 9 22:57:35 PDT 2005


This patch adds more extensive fallback code for the Date()  
constructor when passed a string like:
         '12/25/1995 12:21:43 PST'

Currently only the date is expected, so the year field is corrupt and  
causes mktime to return an invalid date. This fixes bug #3366 (posted  
there too): http://bugzilla.opendarwin.org/show_bug.cgi?id=3366

Question: this bug passes run-webkit-tests, but there are several  
errors for run-mozilla-tests that seem unrelated. Is it normal for  
JavaScriptCore to fail these tests?

Thanks --
Nate

-------------- next part --------------
A non-text attachment was scrubbed...
Name: proposed_fix-bug_3366
Type: application/octet-stream
Size: 4229 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/webkit-reviews/attachments/20050609/5b1fc96e/proposed_fix-bug_3366.obj


More information about the webkit-reviews mailing list