[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi... |
Date: |
Thu, 25 Oct 2007 17:05:40 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/10/25 17:05:40
Modified files:
. : ChangeLog
testsuite/actionscript.all: MovieClip.as
Log message:
* testsuite/actionscript.all/MovieClip.as: test _parent is not
a proper property (gnash fails)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4712&r2=1.4713
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.96&r2=1.97
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4712
retrieving revision 1.4713
diff -u -b -r1.4712 -r1.4713
--- ChangeLog 25 Oct 2007 16:48:06 -0000 1.4712
+++ ChangeLog 25 Oct 2007 17:05:39 -0000 1.4713
@@ -1,5 +1,7 @@
2007-10-25 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/MovieClip.as: test _parent is not
+ a proper property (gnash fails)
* testsuite/actionscript.all/getvariable.as: more tests for
getvariable/setvariable.
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -b -r1.96 -r1.97
--- testsuite/actionscript.all/MovieClip.as 4 Oct 2007 12:16:50 -0000
1.96
+++ testsuite/actionscript.all/MovieClip.as 25 Oct 2007 17:05:40 -0000
1.97
@@ -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.96 2007/10/04 12:16:50 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.97 2007/10/25 17:05:40 strk Exp $";
#include "check.as"
@@ -39,6 +39,9 @@
// Check some references
check_equals(typeof(this), 'movieclip');
check_equals(typeof(_parent), 'undefined');
+#if OUTPUT_VERSION > 5
+ xcheck(!mc.hasOwnProperty('_parent'));
+#endif
check_equals(_root, this);
check_equals(typeof(this['_root']), 'movieclip');
check_equals(typeof(this['_level0']), 'movieclip');
@@ -352,8 +355,10 @@
check_equals(mc2.getBytesLoaded(), 0);
check_equals(mc2.getBytesTotal(), 0);
+xcheck(!mc2.hasOwnProperty('_parent'));
+
#if OUTPUT_VERSION > 6
-check_equals(getInstanceAtDepth(50), mc2);
+ check_equals(getInstanceAtDepth(50), mc2);
#endif
var mc3 = createEmptyMovieClip("mc3_mc", 50);
@@ -1256,4 +1261,16 @@
#endif // OUTPUT_VERSION >= 7
-totals();
+#if OUTPUT_VERSION < 6
+ check_totals(158); // SWF5
+#else
+#if OUTPUT_VERSION < 7
+ check_totals(502); // SWF6
+#else
+#if OUTPUT_VERSION < 8
+ check_totals(519); // SWF7
+#else
+ check_totals(520); // SWF8+
+#endif
+#endif
+#endif
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...,
Sandro Santilli <=