CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/25 19:07:46
Modified files: . : ChangeLog testsuite/actionscript.all: ops.as Log message: * testsuite/actionscript.all/ops.as: more tests about isNaN(x) when x != NaN (odd) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4101&r2=1.4102 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&r1=1.19&r2=1.20 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4101 retrieving revision 1.4102 diff -u -b -r1.4101 -r1.4102 --- ChangeLog 25 Aug 2007 16:10:37 -0000 1.4101 +++ ChangeLog 25 Aug 2007 19:07:45 -0000 1.4102 @@ -1,5 +1,10 @@ 2007-08-25 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/ops.as: more tests about isNaN(x) when + x != NaN (odd) + +2007-08-25 Sandro Santilli <[EMAIL PROTECTED]> + * server/vm/ASHandlers.cpp (ActionNewLessThan): convert operands to primitive value before proceeding. * testsuite/actionscript.all/ops.as: xcheck => check Index: testsuite/actionscript.all/ops.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ops.as,v retrieving revision 1.19 retrieving revision 1.20 diff -u -b -r1.19 -r1.20 --- testsuite/actionscript.all/ops.as 25 Aug 2007 16:10:37 -0000 1.19 +++ testsuite/actionscript.all/ops.as 25 Aug 2007 19:07:46 -0000 1.20 @@ -20,7 +20,7 @@ * Test binary predicates (equal, less_then, greater_then, logical and bitwise ops) */ -rcsid="$Id: ops.as,v 1.19 2007/08/25 16:10:37 strk Exp $"; +rcsid="$Id: ops.as,v 1.20 2007/08/25 19:07:46 strk Exp $"; #include "check.as" @@ -550,8 +550,11 @@ x = new String("a"); y = --x; -xcheck(y!=NaN); +check_equals(typeof(y), 'number'); +xcheck(y!=NaN); // uh ? is it a different NaN ? +check(! (NaN!=NaN)); check(isNaN(y)); +check(isNaN(NaN)); //------------------------------------------------ // Increment Operator (ACTION_DECREMENT: 0x50) _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit