[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl...
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl... |
Date: |
Mon, 24 Sep 2007 11:47:58 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/09/24 11:47:58
Modified files:
. : ChangeLog
testsuite/misc-swfc.all: movieclip_destruction_test1.sc
Log message:
add few more tests for understanding the interesting __proto__ property.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4390&r2=1.4391
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.22&r2=1.23
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4390
retrieving revision 1.4391
diff -u -b -r1.4390 -r1.4391
--- ChangeLog 24 Sep 2007 11:03:11 -0000 1.4390
+++ ChangeLog 24 Sep 2007 11:47:57 -0000 1.4391
@@ -9,6 +9,8 @@
* testsuite/misc-ming.all/action_execution_order_test5.c: tests _proto__
property of parant/child/brother clips at onInitialize time.
+ * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: add few more
+ tests for understanding the interesting __proto__ property.
2007-09-24 Sandro Santilli <address@hidden>
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.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- testsuite/misc-swfc.all/movieclip_destruction_test1.sc 22 Sep 2007
21:41:18 -0000 1.22
+++ testsuite/misc-swfc.all/movieclip_destruction_test1.sc 24 Sep 2007
11:47:58 -0000 1.23
@@ -241,7 +241,11 @@
.initaction mc6: // Add initactions for mc6
// Gnash fails by not respecting actions order for initactions
_root.initActionExecuted += ", mc6";
+ // This is the secret to make __proto__ interesting:)
+ trace(mc6.__proto__);
+ // trace(mc7.__proto__);
_root.xcheck_equals(typeof(mc6), 'movieclip'); // Gnash fails because
executes init actions before DLIST tags
+ _root.xcheck_equals(mc6.__proto__, MovieClip.prototype);
_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 ?
@@ -291,7 +295,7 @@
.action:
_root.check_equals(initActionExecuted, "mc2, mc3, mc61, mc6, mc8");
stop();
- totals(35);
+ totals(36);
.end
.end // file end
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Zou Lunkai, 2007/09/03
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Zou Lunkai, 2007/09/04
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Zou Lunkai, 2007/09/05
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Sandro Santilli, 2007/09/17
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Sandro Santilli, 2007/09/18
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Sandro Santilli, 2007/09/22
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Sandro Santilli, 2007/09/22
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl...,
Zou Lunkai <=
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Sandro Santilli, 2007/09/24
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl..., Zou Lunkai, 2007/09/29