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


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Glob...
Date: Thu, 08 Nov 2007 23:59:41 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/08 23:59:41

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

Log message:
                * testsuite/actionscript.all/Global.as: add test for existence 
of
                  updateAfterEvent (gnash fails).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4812&r2=1.4813
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Global.as?cvsroot=gnash&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4812
retrieving revision 1.4813
diff -u -b -r1.4812 -r1.4813
--- ChangeLog   8 Nov 2007 23:20:36 -0000       1.4812
+++ ChangeLog   8 Nov 2007 23:59:41 -0000       1.4813
@@ -1,5 +1,7 @@
 2007-11-08 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/Global.as: add test for existence of
+         updateAfterEvent (gnash fails).
        * server/as_environment.cpp (find_object_{slash,dot}syntax):
          use get_path_element instead of get_member to get next element
          from an old-style path.

Index: testsuite/actionscript.all/Global.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Global.as,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- testsuite/actionscript.all/Global.as        27 Oct 2007 16:43:45 -0000      
1.35
+++ testsuite/actionscript.all/Global.as        8 Nov 2007 23:59:41 -0000       
1.36
@@ -21,12 +21,15 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Global.as,v 1.35 2007/10/27 16:43:45 strk Exp $";
+rcsid="$Id: Global.as,v 1.36 2007/11/08 23:59:41 strk Exp $";
 
 #include "check.as"
 
-// Check that _global.parseInt is in effect what parseInt resolves to
 #if OUTPUT_VERSION > 5
+xcheck_equals(typeof(_global.updateAfterEvent), 'function');
+check( ! _global.hasOwnProperty('updateAfterEvent') );
+
+// Check that _global.parseInt is in effect what parseInt resolves to
 check ( parseInt == _global.parseInt );
 
 check_equals(typeof(Object._global), 'undefined');
@@ -42,7 +45,10 @@
 check_equals(typeof(_global.toString), 'undefined');
 
 #else
+
+xcheck_equals(typeof(updateAfterEvent), 'function');
 check_equals ( typeof(_global.parseInt), 'undefined' );
+
 #endif
 
 check_equals(typeof(isNaN), 'function');
@@ -254,15 +260,15 @@
 //------------------------------------------------------------
 
 #if OUTPUT_VERSION == 5
-       check_totals(43); // SWF5
+       check_totals(44); // SWF5
 #else
 # if OUTPUT_VERSION == 6
-       check_totals(75); // SWF6
+       check_totals(77); // SWF6
 # else
 #  if OUTPUT_VERSION == 7
-       check_totals(57); // SWF7
+       check_totals(59); // SWF7
 #  else
-       check_totals(44); // SWF8+
+       check_totals(46); // SWF8+
 #  endif
 # endif
 #endif




reply via email to

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