gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/registe...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/registe...
Date: Tue, 25 Sep 2007 06:08:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/09/25 06:08:21

Modified files:
        .              : ChangeLog 
        testsuite/misc-swfc.all: registerclass_test3.sc 

Log message:
                * testsuite/misc-swfc.all/registerclass_test3.sc:
                  Test that registerClass effects are visible from withing 
actions
                  contained in the same frame as the target clip is placed, 
even if
                  DoAction comes before DoInitAction, which itself can't see 
those
                  effects.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4397&r2=1.4398
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/registerclass_test3.sc?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4397
retrieving revision 1.4398
diff -u -b -r1.4397 -r1.4398
--- ChangeLog   25 Sep 2007 02:44:26 -0000      1.4397
+++ ChangeLog   25 Sep 2007 06:08:20 -0000      1.4398
@@ -1,3 +1,11 @@
+2007-09-25 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-swfc.all/registerclass_test3.sc:
+         Test that registerClass effects are visible from withing actions
+         contained in the same frame as the target clip is placed, even if
+         DoAction comes before DoInitAction, which itself can't see those
+         effects.
+
 2007-09-25 Zou Lunkai <address@hidden>
        
        * testsuite/misc-ming.all/registerClassTest2.c: one more test.

Index: testsuite/misc-swfc.all/registerclass_test3.sc
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/registerclass_test3.sc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-swfc.all/registerclass_test3.sc      25 Sep 2007 05:41:46 
-0000      1.2
+++ testsuite/misc-swfc.all/registerclass_test3.sc      25 Sep 2007 06:08:21 
-0000      1.3
@@ -44,6 +44,12 @@
   
 
 .frame 3
+
+  .action:
+     // registerClass effects are visible here
+     check_equals(libItem2.__proto__, theClass2.prototype);
+  .end
+    
   .initaction libItem1:
      theClass1 = function() { this.testvar = 60;};
      theClass1.prototype = new MovieClip();
@@ -69,14 +75,17 @@
      // Gnash failed by executing init actions before DLIST tags.
      xcheck_equals(typeof(libItem2), 'movieclip');
      xcheck_equals(libItem2.__proto__, MovieClip.prototype);
+
+     // Childs of libItem2 have also been placed already
+     // Gnash fails by executing init actions before frame0 tags
+     xcheck_equals(typeof(libItem2.b1), 'movieclip');
   .end
   
   .put libItem2
   
-    
 .frame 4
   .action:
-    totals(8);
+    totals(10);
     stop();
   .end
 




reply via email to

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