[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text... |
Date: |
Tue, 08 Apr 2008 18:56:45 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/04/08 18:56:45
Modified files:
. : ChangeLog
testsuite/actionscript.all: TextField.as
Log message:
test _parent. textfields need some love...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6218&r2=1.6219
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.47&r2=1.48
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6218
retrieving revision 1.6219
diff -u -b -r1.6218 -r1.6219
--- ChangeLog 8 Apr 2008 15:54:04 -0000 1.6218
+++ ChangeLog 8 Apr 2008 18:56:44 -0000 1.6219
@@ -1,5 +1,7 @@
2008-04-08 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/TextField.as: test _parent.
+ textfields need some love...
* testsuite/swfdec/REALTIME: run netstream-dimensions.swf in
real-time.
* utilities/processor.cpp: don't parse rcfiles twice.
Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- testsuite/actionscript.all/TextField.as 11 Mar 2008 19:31:48 -0000
1.47
+++ testsuite/actionscript.all/TextField.as 8 Apr 2008 18:56:45 -0000
1.48
@@ -20,7 +20,7 @@
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: TextField.as,v 1.47 2008/03/11 19:31:48 strk Exp $";
+rcsid="$Id: TextField.as,v 1.48 2008/04/08 18:56:45 strk Exp $";
#include "check.as"
#if OUTPUT_VERSION > 5
@@ -360,7 +360,9 @@
check_equals(tf.multiline, true);
tf.multiline = false;
+//-------------------------------------------------------------------------
// Check TextField._name
+//-------------------------------------------------------------------------
check_equals(typeof(tf._name), 'string');
check(!tf.hasOwnProperty('_name'));
@@ -377,14 +379,23 @@
check_equals(typeof(tfref), 'object');
// TODO: see effects of unloading the textfield ?
+//-------------------------------------------------------------------------
// Check TextField._parent
+//-------------------------------------------------------------------------
xcheck_equals(typeof(tf._parent), 'movieclip');
check(!tf.hasOwnProperty('_parent'));
check(!tf.__proto__.hasOwnProperty('_parent'));
xcheck_equals(tf._parent, _root);
+bk = tf._parent;
+tf._parent = 23;
+check_equals(tf._parent, 23); // can be overridden !
+check_equals(tf._target, "/tf"); // but won't change _target
+tf._parent = bk;
+//-------------------------------------------------------------------------
// Check TextField.password
+//-------------------------------------------------------------------------
xcheck_equals(typeof(tf.password), 'boolean');
check(!tf.hasOwnProperty('password'));
@@ -827,9 +838,9 @@
#if OUTPUT_VERSION < 8
- check_totals(392);
+ check_totals(394);
#else
- check_totals(393);
+ check_totals(395);
#endif
#else // OUTPUT_VERSION <= 5
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...,
Sandro Santilli <=