CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/25 21:38:49
Modified files: . : ChangeLog testsuite/actionscript.all: toString_valueOf.as Log message: * testsuite/actionscript.all/toString_valueOf.as: note that any function is equal to any other in SWF5... CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4102&r2=1.4103 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/toString_valueOf.as?cvsroot=gnash&r1=1.6&r2=1.7 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4102 retrieving revision 1.4103 diff -u -b -r1.4102 -r1.4103 --- ChangeLog 25 Aug 2007 19:07:45 -0000 1.4102 +++ ChangeLog 25 Aug 2007 21:38:48 -0000 1.4103 @@ -1,5 +1,7 @@ 2007-08-25 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/toString_valueOf.as: note that any + function is equal to any other in SWF5... * testsuite/actionscript.all/ops.as: more tests about isNaN(x) when x != NaN (odd) Index: testsuite/actionscript.all/toString_valueOf.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/toString_valueOf.as,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- testsuite/actionscript.all/toString_valueOf.as 25 Aug 2007 14:15:51 -0000 1.6 +++ testsuite/actionscript.all/toString_valueOf.as 25 Aug 2007 21:38:49 -0000 1.7 @@ -56,9 +56,10 @@ check(obj.toString != Object.prototype.toString); check(obj.valueOf != Object.prototype.valueOf); #else - // this is true only in swf5 + // this is true only in swf5 (any function is equal to any other in SWF5) xcheck(obj.toString == Object.prototype.toString); xcheck(obj.valueOf == Object.prototype.valueOf); + xcheck(obj.toString == obj.valueOf); #endif x = obj.toString(); y = obj.valueOf(); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit