gnash-commit
[Top][All Lists]
Advanced

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

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


From: Zou Lunkai
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Inheritance.as...
Date: Tue, 11 Sep 2007 05:58:54 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  07/09/11 05:58:54

Modified files:
        testsuite/actionscript.all: Inheritance.as toString_valueOf.as 

Log message:
        minor comments cleanups.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/toString_valueOf.as?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- Inheritance.as      11 Sep 2007 05:46:32 -0000      1.37
+++ Inheritance.as      11 Sep 2007 05:58:54 -0000      1.38
@@ -21,7 +21,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Inheritance.as,v 1.37 2007/09/11 05:46:32 zoulunkai Exp $";
+rcsid="$Id: Inheritance.as,v 1.38 2007/09/11 05:58:54 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -48,10 +48,6 @@
 check(functionObject.hasOwnProperty('__constructor__'));
 check_equals(functionObject.__constructor__, Function);
 #else
-// TODO: this is likely dependent on *player* version 
-//       rather then on *SWF* version, in which case
-//       we should completely avoid testing it.
-//       Can anyone confirm ?
 // This is because SWF5 does not support Function class.
 check_equals(typeof(functionObject), 'undefined');
 #endif

Index: toString_valueOf.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/toString_valueOf.as,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- toString_valueOf.as 11 Sep 2007 05:46:32 -0000      1.13
+++ toString_valueOf.as 11 Sep 2007 05:58:54 -0000      1.14
@@ -45,7 +45,7 @@
   check_equals(typeof(Function.prototype['toString']), 'function');
   check_equals(typeof(Function.prototype['valueOf']), 'function');
 #else
-  // No Function Object in swf5???
+  // No Function Class in swf5
   check_equals(typeof(Function), 'undefined');
   
   // Function Object in swf5 does not support toString and valueOf




reply via email to

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