CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/11/22 18:05:11
Modified files: . : ChangeLog testsuite/actionscript.all: getvariable.as Log message: additional test for /slash/based path ending with a colon. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4923&r2=1.4924 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/getvariable.as?cvsroot=gnash&r1=1.17&r2=1.18 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4923 retrieving revision 1.4924 diff -u -b -r1.4923 -r1.4924 --- ChangeLog 22 Nov 2007 17:34:46 -0000 1.4923 +++ ChangeLog 22 Nov 2007 18:05:10 -0000 1.4924 @@ -1,3 +1,8 @@ +2007-11-22 Sandro Santilli <[EMAIL PROTECTED]> + + * testsuite/actionscript.all/getvariable.as: additional test + for /slash/based path ending with a colon. + 2007-11-22 Rob Savoye <[EMAIL PROTECTED]> * gui/gtksup.h: Sigh, use USE_HILDON and USE_ALP after all. Index: testsuite/actionscript.all/getvariable.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/getvariable.as,v retrieving revision 1.17 retrieving revision 1.18 diff -u -b -r1.17 -r1.18 --- testsuite/actionscript.all/getvariable.as 22 Nov 2007 14:29:38 -0000 1.17 +++ testsuite/actionscript.all/getvariable.as 22 Nov 2007 18:05:11 -0000 1.18 @@ -19,7 +19,7 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: getvariable.as,v 1.17 2007/11/22 14:29:38 strk Exp $"; +rcsid="$Id: getvariable.as,v 1.18 2007/11/22 18:05:11 strk Exp $"; #include "check.as" @@ -137,6 +137,19 @@ #endif //--------------------------------------------------------------------- +// Check '/mc/mc:' access +//--------------------------------------------------------------------- + +var variable_in_root = 6; +asm { + push 'checkpoint' + push '/mc/mc:' + getvariable + setvariable +}; +check_equals(typeof(checkpoint), 'undefined'); + +//--------------------------------------------------------------------- // Check '/mc/mc/mem' access // (expected to fail, but I'm not sure why) //--------------------------------------------------------------------- @@ -540,9 +553,9 @@ //----------------------------------------------------------------------- #if OUTPUT_VERSION < 6 - xcheck_totals(39); // ??? + xcheck_totals(40); // gnash runs 42 tests ?! #else - xcheck_totals(44); // ??? + xcheck_totals(45); // gnash runs 47 tests ?! #endif #else // ndef MING_SUPPORT_ASM _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit