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