[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kjs
From:       Harri Porten <porten () kde ! org>
Date:       2007-03-21 5:25:24
Message-ID: 1174454724.092996.20455.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 644867 by porten:

remove non-sensical exceptions like done in trunk already. fixes
a crash caused by invalid internal value.


 M  +1 -2      date_object.cpp  


--- branches/KDE/3.5/kdelibs/kjs/date_object.cpp #644866:644867
@@ -372,8 +372,7 @@
 
 Value DateProtoFuncImp::call(ExecState *exec, Object &thisObj, const List &args)
 {
-  if ((id == ToString || id == ValueOf || id == GetTime || id == SetTime) &&
-      !thisObj.inherits(&DateInstanceImp::info)) {
+  if (!thisObj.inherits(&DateInstanceImp::info)) {
     // non-generic function called on non-date object
 
     // ToString and ValueOf are generic according to the spec, but the mozilla
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic