[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/VarAndC...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/VarAndC... |
Date: |
Thu, 21 Dec 2006 08:05:04 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/12/21 08:05:04
Modified files:
. : ChangeLog
testsuite/misc-ming.all: VarAndCharClashTest.as
Log message:
* testsuite/misc-ming.all/VarAndCharClashTest.as:
added new test checking integrity of a *reference*
to the movieclip.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1982&r2=1.1983
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1982
retrieving revision 1.1983
diff -u -b -r1.1982 -r1.1983
--- ChangeLog 20 Dec 2006 23:10:02 -0000 1.1982
+++ ChangeLog 21 Dec 2006 08:05:04 -0000 1.1983
@@ -1,3 +1,9 @@
+2006-12-21 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-ming.all/VarAndCharClashTest.as:
+ added new test checking integrity of a *reference*
+ to the movieclip.
+
2006-12-20 Sandro Santilli <address@hidden>
* server/as_value.cpp (to_sprite): don't segfault if the
Index: testsuite/misc-ming.all/VarAndCharClashTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/VarAndCharClashTest.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/VarAndCharClashTest.as 13 Dec 2006 09:38:16
-0000 1.3
+++ testsuite/misc-ming.all/VarAndCharClashTest.as 21 Dec 2006 08:05:04
-0000 1.4
@@ -16,6 +16,10 @@
check(green instanceOf MovieClip);
check_equals(typeof(green), 'movieclip');
+// Set a reference to the movieclip
+greenref = green;
+check_equals(typeof(greenref), 'movieclip');
+
// "create" a 'green' variable.
// The name of this variable will "clash" with the name of the
// existing character (added in frame2).
@@ -26,6 +30,9 @@
check_equals(typeof(green), 'object');
check_equals(green._y, undefined);
+// The movieclip reference is still valid
+check_equals(typeof(greenref), 'movieclip');
+
// print totals and stop to avoid infinite loops
totals();
stop();