CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/09/30 01:50:48
Modified files: . : ChangeLog testsuite/misc-swfc.all: movieclip_destruction_test3.sc Log message: * testsuite/misc-swfc.all/movieclip_destruction_test3.sc: '_root' is always defined as tests shows. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4480&r2=1.4481 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test3.sc?cvsroot=gnash&r1=1.6&r2=1.7 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4480 retrieving revision 1.4481 diff -u -b -r1.4480 -r1.4481 --- ChangeLog 30 Sep 2007 01:32:56 -0000 1.4480 +++ ChangeLog 30 Sep 2007 01:50:48 -0000 1.4481 @@ -1,3 +1,8 @@ +2007-09-30 Zou Lunkai <[EMAIL PROTECTED]> + + * testsuite/misc-swfc.all/movieclip_destruction_test3.sc: '_root' is always + defined as tests shows. + 2007-09-30 Markus Gothe <[EMAIL PROTECTED]> * libbase/tu_file.cpp: __SGI_LIBC_USING_FROM_STD(va_list). Index: testsuite/misc-swfc.all/movieclip_destruction_test3.sc =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test3.sc,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- testsuite/misc-swfc.all/movieclip_destruction_test3.sc 27 Sep 2007 08:10:18 -0000 1.6 +++ testsuite/misc-swfc.all/movieclip_destruction_test3.sc 30 Sep 2007 01:50:48 -0000 1.7 @@ -117,15 +117,32 @@ .end #endif -.frame 20 + +.frame 12 .action: check_equals(_root.x, 300); check_equals(typeof(nestedMovieClip), 'undefined'); check_equals(_root.as_order, "0+1+2+"); - stop(); - totals(9); .end +.frame 15 + .action: + _root.createEmptyMovieClip("mcA", 10); + mcARef = mcA; + mcA.onUnload = function () { + _root.check_equals(mcA['_root'], _level0); + }; + mcA['removeMovieClip'](); + _root.check_equals(mcARef.getDepth(), -32779); + _root.check_equals(mcARef['_root'], _level0); + .end + +.frame 16 + .action: + stop(); + totals(12); + .end + .end _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit