Skip to content
  • darin's avatar
    - fixed 3101191 -- REGRESSION: Hang loading excite.com · 4fb58d6d
    darin authored
            * kjs/date_object.cpp:
            (mktimeUsingCF): Pick an arbitrary cutoff of 3000, and return -1 if the
    	year passed in is that big so we don't infinite loop. Also validate the
    	rest of the date with CFGregorianDateIsValid.
            (DateProtoFuncImp::call): Handle a -1 result from mktime.
            (DateObjectImp::construct): Check for NaN before calling mktime, and also
    	handle a -1 result from mktime.
            (DateObjectFuncImp::call): Check for NaN before calling mktime, and also
    	handle a -1 result from mktime.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4fb58d6d