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/moviecl...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/moviecl...
Date: Mon, 24 Sep 2007 12:44:44 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/09/24 12:44:44

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

Log message:
                * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: 
clarify
                  test for bogus __proto__ delayed construction. We still need
                  to find a way to verify registerClass effects handling time.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4392&r2=1.4393
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4392
retrieving revision 1.4393
diff -u -b -r1.4392 -r1.4393
--- ChangeLog   24 Sep 2007 12:34:49 -0000      1.4392
+++ ChangeLog   24 Sep 2007 12:44:44 -0000      1.4393
@@ -1,5 +1,8 @@
 2007-09-24 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-swfc.all/movieclip_destruction_test1.sc: clarify
+         test for bogus __proto__ delayed construction. We still need
+         to find a way to verify registerClass effects handling time.
        * server/asobj/xml.cpp: set _status to min 32bit signed int
          if value is not a number, cast to_number() to an int otherwise.
        * testsuite/actionscript.all/XML.as: two more successes.

Index: testsuite/misc-swfc.all/movieclip_destruction_test1.sc
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-swfc.all/movieclip_destruction_test1.sc,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- testsuite/misc-swfc.all/movieclip_destruction_test1.sc      24 Sep 2007 
11:47:58 -0000      1.23
+++ testsuite/misc-swfc.all/movieclip_destruction_test1.sc      24 Sep 2007 
12:44:44 -0000      1.24
@@ -241,14 +241,19 @@
   .initaction mc6: // Add initactions for mc6
     // Gnash fails by not respecting actions order for initactions
     _root.initActionExecuted += ", mc6";
-    // This is the secret to make __proto__ interesting:)
-    trace(mc6.__proto__);
-    // trace(mc7.__proto__);
-    _root.xcheck_equals(typeof(mc6), 'movieclip'); // Gnash fails because 
executes init actions before DLIST tags
+
+
+    // Due to a bug in the proprietary player, we need to trace(__proto__) to
+    // force proper construction of the sprites.
+    _root.xcheck_equals(mc6.__proto__, Object.prototype); 
+    _root.xcheck_equals(mc7.__proto__, Object.prototype); 
+    trace(mc6.__proto__); trace(mc7.__proto__);
     _root.xcheck_equals(mc6.__proto__, MovieClip.prototype); 
+    _root.xcheck_equals(mc7.__proto__, MovieClip.prototype); 
+
+    _root.xcheck_equals(typeof(mc6), 'movieclip'); // Gnash fails because 
executes init actions before DLIST tags
     _root.xcheck_equals(typeof(mc6.mc61), 'movieclip'); // Gnash fails because 
executes init actions before DLIST tags
     _root.xcheck_equals(typeof(mc7), 'movieclip'); // Gnash fails because 
executes init actions before DLIST tags
-    _root.xcheck_equals(mc7.__proto__, Object.prototype); // this is 
interesting, isn't it ?
     _root.xcheck_equals(typeof(mc7.mc71), 'movieclip'); // Gnash fails because 
executes init actions before DLIST tags
     _root.check_equals(this, _root); // target is the root !
   .end
@@ -295,7 +300,7 @@
   .action:
     _root.check_equals(initActionExecuted, "mc2, mc3, mc61, mc6, mc8");
     stop();
-    totals(36);
+    totals(38);
   .end
   
 .end  // file end




reply via email to

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