CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/22 21:41:18
Modified files:
. : ChangeLog
testsuite/misc-swfc.all: movieclip_destruction_test1.sc
Log message:
* testsuite/misc-swfc.all/movieclip_destruction_test1.swf:
Test that just-placed sprites (at time of init actions
execution)
are instances of Object, not MovieClip !!
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4378&r2=1.4379
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.21&r2=1.22
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4378
retrieving revision 1.4379
diff -u -b -r1.4378 -r1.4379
--- ChangeLog 22 Sep 2007 17:32:32 -0000 1.4378
+++ ChangeLog 22 Sep 2007 21:41:18 -0000 1.4379
@@ -1,5 +1,11 @@
2007-09-22 Sandro Santilli <[EMAIL PROTECTED]>
+ * testsuite/misc-swfc.all/movieclip_destruction_test1.swf:
+ Test that just-placed sprites (at time of init actions execution)
+ are instances of Object, not MovieClip !!
+
+2007-09-22 Sandro Santilli <[EMAIL PROTECTED]>
+
* server/sprite_instance.cpp (stagePlacementCallback): notify
INITIALIZE event.
* testsuite/misc-ming.all/registerClassTest2.c: 2 more successes.
Index: testsuite/misc-swfc.all/movieclip_destruction_test1.sc
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/misc-swfc.all/movieclip_destruction_test1.sc 22 Sep 2007
13:08:41 -0000 1.21
+++ testsuite/misc-swfc.all/movieclip_destruction_test1.sc 22 Sep 2007
21:41:18 -0000 1.22
@@ -244,11 +244,15 @@
_root.xcheck_equals(typeof(mc6), 'movieclip'); // Gnash fails because
executes init actions before DLIST tags
_root.xcheck_equals(typeof(mc6.mc61), 'movieclip'); // Gnash fails because
executes init actions before DLIST tags
_root.xcheck_equals(typeof(mc7), 'movieclip'); // Gnash fails because
executes init actions before DLIST tags
+ _root.xcheck_equals(mc7.__proto__, Object.prototype); // this is
interesting, isn't it ?
_root.xcheck_equals(typeof(mc7.mc71), 'movieclip'); // Gnash fails because
executes init actions before DLIST tags
_root.check_equals(this, _root); // target is the root !
.end
.sprite mc71
+ .action:
+ _root.check_equals(this.__proto__, MovieClip.prototype);
+ .end
.frame 1 .put b3
.end
@@ -287,7 +291,7 @@
.action:
_root.check_equals(initActionExecuted, "mc2, mc3, mc61, mc6, mc8");
stop();
- totals(33);
+ totals(35);
.end
.end // file end
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit