gnash-commit
[Top][All Lists]
Advanced

[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, 08 Mar 2007 10:58:16 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/03/08 10:58:16

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: MovieClip.as 

Log message:
                * testsuite/actionscript.all/MovieClip.as:
                  Test that the onLoad member of a MovieClip
                  can be set to any value.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2576&r2=1.2577
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2576
retrieving revision 1.2577
diff -u -b -r1.2576 -r1.2577
--- ChangeLog   8 Mar 2007 09:33:40 -0000       1.2576
+++ ChangeLog   8 Mar 2007 10:58:15 -0000       1.2577
@@ -1,5 +1,8 @@
 2007-03-07 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/MovieClip.as:
+         Test that the onLoad member of a MovieClip
+         can be set to any value.
        * server/sprite_instance.{h,cpp}: drop unused
          m_update_frame variable. (restart): simplify
          and properly reset the displayList backup.

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- testsuite/actionscript.all/MovieClip.as     16 Feb 2007 11:30:34 -0000      
1.34
+++ testsuite/actionscript.all/MovieClip.as     8 Mar 2007 10:58:15 -0000       
1.35
@@ -22,7 +22,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.34 2007/02/16 11:30:34 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.35 2007/03/08 10:58:15 strk Exp $";
 
 #include "check.as"
 
@@ -282,3 +282,12 @@
 check_equals(typeof(cl.attachMovie), "function");
 check_equals(typeof(cl._width), "undefined");
 check_equals(typeof(cl._parent), "undefined");
+
+//------------------------------------------------
+// Test onLoad to be allowed to be set to anything
+//------------------------------------------------
+
+_root.onLoad = 3;
+check_equals(typeof(_root.onLoad), 'number');
+_root.onLoad = "test";
+check_equals(typeof(_root.onLoad), 'string');




reply via email to

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