CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/07/13 14:50:08
Modified files: . : ChangeLog testsuite/actionscript.all: TextField.as testsuite/misc-ming.all: DefineEditTextTest.c Log message: * testsuite/actionscript.all/TextField.as: Add test for TextField.prototype.hasOwnProperty('background') returning false (weird, returns true in misc.ming-all/DefineEditTestTest.c!) * testsuite/misc-ming.all/DefineEditTextTest.c: Add test for TextField.prototype.hasOwnProperty('background') returning true (weird, returns false in actionscript.all/TextField.as!) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3732&r2=1.3733 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.14&r2=1.15 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3732 retrieving revision 1.3733 diff -u -b -r1.3732 -r1.3733 --- ChangeLog 13 Jul 2007 02:59:15 -0000 1.3732 +++ ChangeLog 13 Jul 2007 14:50:07 -0000 1.3733 @@ -1,5 +1,15 @@ 2007-07-13 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/TextField.as: + Add test for TextField.prototype.hasOwnProperty('background') + returning false (weird, returns true in + misc.ming-all/DefineEditTestTest.c!) + * testsuite/misc-ming.all/DefineEditTextTest.c: + Add test for TextField.prototype.hasOwnProperty('background') + returning true (weird, returns false in actionscript.all/TextField.as!) + +2007-07-13 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/Microphone.as: test cleanup (see bug #20472). * testsuite/misc-ming.all/Makefile.am: Fix linking Index: testsuite/actionscript.all/TextField.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- testsuite/actionscript.all/TextField.as 1 Jul 2007 10:54:41 -0000 1.2 +++ testsuite/actionscript.all/TextField.as 13 Jul 2007 14:50:07 -0000 1.3 @@ -20,7 +20,7 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: TextField.as,v 1.2 2007/07/01 10:54:41 bjacques Exp $"; +rcsid="$Id: TextField.as,v 1.3 2007/07/13 14:50:07 strk Exp $"; #include "check.as" @@ -37,6 +37,8 @@ check_equals(typeof(TextField.prototype.getDepth), 'function'); check_equals(typeof(TextField.prototype.removeTextField), 'function'); check_equals(typeof(TextField.prototype.replaceSel), 'function'); +check(!TextField.prototype.hasOwnProperty('background')); + // this is a static method check_equals(typeof(TextField.getFontList), 'function'); Index: testsuite/misc-ming.all/DefineEditTextTest.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -b -r1.14 -r1.15 --- testsuite/misc-ming.all/DefineEditTextTest.c 13 Jul 2007 03:35:21 -0000 1.14 +++ testsuite/misc-ming.all/DefineEditTextTest.c 13 Jul 2007 14:50:08 -0000 1.15 @@ -148,6 +148,9 @@ } SWFMovie_nextFrame(mo); + xcheck_equals(mo, "dtext1.__proto__", "TextField.prototype"); + xcheck(mo, "TextField.prototype.hasOwnProperty('background')"); + check_equals(mo, "typeof(dtext1)", "'object'"); check_equals(mo, "typeof(dtext1.text)", "'string'"); xcheck_equals(mo, "typeof(dtext1.background)", "'boolean'"); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit