CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/12/26 09:45:57
Modified files: . : ChangeLog testsuite/actionscript.all: MovieClip.as Log message: add test for _lockroot location. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5258&r2=1.5259 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.107&r2=1.108 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5258 retrieving revision 1.5259 diff -u -b -r1.5258 -r1.5259 --- ChangeLog 26 Dec 2007 08:04:58 -0000 1.5258 +++ ChangeLog 26 Dec 2007 09:45:56 -0000 1.5259 @@ -1,5 +1,7 @@ 2007-12-26 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/MovieClip.as: add test for _lockroot + location. * server/: sprite_instance.cpp, as_environment.cpp, namedStrings.{cpp,h}: Add PROP_uROOT and PROP_uGLOBAL Index: testsuite/actionscript.all/MovieClip.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v retrieving revision 1.107 retrieving revision 1.108 diff -u -b -r1.107 -r1.108 --- testsuite/actionscript.all/MovieClip.as 25 Dec 2007 06:12:54 -0000 1.107 +++ testsuite/actionscript.all/MovieClip.as 26 Dec 2007 09:45:56 -0000 1.108 @@ -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: MovieClip.as,v 1.107 2007/12/25 06:12:54 zoulunkai Exp $"; +rcsid="$Id: MovieClip.as,v 1.108 2007/12/26 09:45:56 strk Exp $"; #include "check.as" @@ -83,6 +83,7 @@ #if OUTPUT_VERSION >= 6 check(MovieClip.prototype.hasOwnProperty('loadMovie')); +xcheck(MovieClip.prototype.hasOwnProperty('_lockroot')); check(!MovieClip.prototype.hasOwnProperty('loadMovieNum')); check(!MovieClip.prototype.hasOwnProperty('valueOf')); check(!MovieClip.prototype.hasOwnProperty('toString')); @@ -255,6 +256,8 @@ check(mc._ymouse != undefined); check(mc._yscale != undefined); xcheck(mc._lockroot != undefined); +xcheck_equals(typeof(mc._lockroot), 'boolean'); +xcheck_equals(mc._lockroot, false); #if OUTPUT_VERSION > 5 check_equals(mc._name, ""); @@ -1286,15 +1289,15 @@ #endif // OUTPUT_VERSION >= 7 #if OUTPUT_VERSION < 6 - check_totals(160); // SWF5 + check_totals(162); // SWF5 #else #if OUTPUT_VERSION < 7 - check_totals(554); // SWF6 + check_totals(557); // SWF6 #else #if OUTPUT_VERSION < 8 - check_totals(571); // SWF7 + check_totals(574); // SWF7 #else - check_totals(572); // SWF8+ + check_totals(575); // SWF8+ #endif #endif #endif _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit