gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/actionscript.all TextField.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/actionscript.all TextField.as
Date: Tue, 08 Apr 2008 19:02:38 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/08 19:02:38

Modified files:
        testsuite/actionscript.all: TextField.as 

Log message:
        more on _parent

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.48&r2=1.49

Patches:
Index: TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- TextField.as        8 Apr 2008 18:56:45 -0000       1.48
+++ TextField.as        8 Apr 2008 19:02:37 -0000       1.49
@@ -20,7 +20,7 @@
 // execute it like this gnash -1 -r 0 -v out.swf
 
 
-rcsid="$Id: TextField.as,v 1.48 2008/04/08 18:56:45 strk Exp $";
+rcsid="$Id: TextField.as,v 1.49 2008/04/08 19:02:37 strk Exp $";
 #include "check.as"
 
 #if OUTPUT_VERSION > 5
@@ -391,6 +391,11 @@
 tf._parent = 23;
 check_equals(tf._parent, 23); // can be overridden !
 check_equals(tf._target, "/tf"); // but won't change _target
+r = delete tf._parent;
+check(r);
+TextField.prototype._parent = "from proto";
+xcheck_equals(tf._parent, _root); // still unchanged
+delete TextField.prototype._parent;
 tf._parent = bk;
 
 //-------------------------------------------------------------------------
@@ -488,7 +493,9 @@
 check_equals(tf.tabIndex, 9);
 delete(tf.tabIndex);
 
+//-------------------------------------------------------------------------
 // Check TextField._target
+//-------------------------------------------------------------------------
 
 check_equals(typeof(tf._target), 'string');
 check( ! tf.hasOwnProperty('_target') ); 
@@ -838,9 +845,9 @@
 
 
 #if OUTPUT_VERSION < 8
- check_totals(394);
+ check_totals(396);
 #else
- check_totals(395);
+ check_totals(397);
 #endif
 
 #else // OUTPUT_VERSION <= 5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]