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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kjs
From:       Maks Orlovich <maksim () kde ! org>
Date:       2006-10-17 20:07:43
Message-ID: 1161115663.562772.23892.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 596534 by orlovich:

Properly propagate exception value here, so if we're nested inside 
a node that operates on values directly, it wouldn't crash tryng to get them...
Thanks to Harri for explaining that there are multiple check exception macros 
and about how these methods work..
BUG:135735


 M  +1 -1      nodes.cpp  


--- branches/KDE/3.5/kdelibs/kjs/nodes.cpp #596533:596534
@@ -1028,7 +1028,7 @@
 Value PrefixNode::evaluate(ExecState *exec) const
 {
   Reference ref = expr->evaluateReference(exec);
-  KJS_CHECKEXCEPTION
+  KJS_CHECKEXCEPTIONVALUE
   Value v = ref.getValue(exec);
   double n = v.toNumber(exec);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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