[Top][All Lists]
[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, 02 Aug 2007 18:57:00 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/08/02 18:57:00
Modified files:
. : ChangeLog
testsuite/actionscript.all: MovieClip.as
Log message:
* testsuite/actionscript.all/MovieClip.as: test MovieClip.valueOf().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3918&r2=1.3919
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.78&r2=1.79
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3918
retrieving revision 1.3919
diff -u -b -r1.3918 -r1.3919
--- ChangeLog 2 Aug 2007 18:28:42 -0000 1.3918
+++ ChangeLog 2 Aug 2007 18:56:59 -0000 1.3919
@@ -1,5 +1,6 @@
2007-08-02 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/MovieClip.as: test MovieClip.valueOf().
* server/as_value.{cpp,h}: as_environment parameter made mandatory
for the equals() method.
* server/vm/ASHandlers.cpp (ActionEquals): update calls to
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- testsuite/actionscript.all/MovieClip.as 26 Jul 2007 03:41:19 -0000
1.78
+++ testsuite/actionscript.all/MovieClip.as 2 Aug 2007 18:57:00 -0000
1.79
@@ -20,7 +20,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.78 2007/07/26 03:41:19 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.79 2007/08/02 18:57:00 strk Exp $";
#include "check.as"
@@ -64,13 +64,22 @@
#if OUTPUT_VERSION >= 6
check(MovieClip.prototype.hasOwnProperty('loadMovie'));
check(!MovieClip.prototype.hasOwnProperty('loadMovieNum'));
+check(!MovieClip.prototype.hasOwnProperty('valueOf'));
+check(!MovieClip.prototype.hasOwnProperty('toString'));
#endif
+check_equals(typeof(mc.valueOf), 'function');
+check_equals(typeof(mc.toString), 'function');
+
+check_equals(typeof(mc.valueOf()), 'movieclip');
check_equals(typeof(mc.enabled), 'boolean');
#if OUTPUT_VERSION >= 6
check(!mc.hasOwnProperty('enabled'));
check(mc.__proto__.hasOwnProperty('enabled'));
+check(!mc.hasOwnProperty('valueOf'));
+check(!mc.hasOwnProperty('toString'));
#endif
+
check_equals(mc.enabled, true);
mc.enabled = false;
check_equals(typeof(mc.enabled), 'boolean');
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...,
Sandro Santilli <=