[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/toSt...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/toSt... |
Date: |
Fri, 28 Sep 2007 06:52:42 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/28 06:52:41
Modified files:
. : ChangeLog
testsuite/actionscript.all: toString_valueOf.as
Log message:
* testsuite/actionscript.all/toString_valueOf.as: few more tests
for TextField.toString.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4457&r2=1.4458
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/toString_valueOf.as?cvsroot=gnash&r1=1.20&r2=1.21
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4457
retrieving revision 1.4458
diff -u -b -r1.4457 -r1.4458
--- ChangeLog 28 Sep 2007 03:03:53 -0000 1.4457
+++ ChangeLog 28 Sep 2007 06:52:41 -0000 1.4458
@@ -1,9 +1,14 @@
-2007-09-27 Rob Savoye <address@hidden>
+2007-09-28 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/toString_valueOf.as: few more tests
+ for TextField.toString.
+
+2007-09-28 Rob Savoye <address@hidden>
* gui/gtk.cpp: Add support for LIRC, if it's running. Add event
handler for LIRC messages.
-2007-09-26 Rob Savoye <address@hidden>
+2007-09-28 Rob Savoye <address@hidden>
* extensions/Makefile.am: Add dbus to DIST_SUBDIRS.
@@ -239,7 +244,6 @@
DropShadowFilter.h, GlowFilter.h, GradientBevelFilter.h,
GradientGlowFilter.h: include <boost/cstdint.hpp> for XintXX_t.
->>>>>>> 1.4447
2007-09-26 Sandro Santilli <address@hidden>
* server/swf/tag_loaders.cpp (define_sound_loader): don't delete
Index: testsuite/actionscript.all/toString_valueOf.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/toString_valueOf.as,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/actionscript.all/toString_valueOf.as 27 Sep 2007 23:06:56
-0000 1.20
+++ testsuite/actionscript.all/toString_valueOf.as 28 Sep 2007 06:52:41
-0000 1.21
@@ -277,9 +277,8 @@
check(typeof(TextField.prototype.toString) == 'function' );
check(typeof(TextField.prototype.valueOf) == 'function' );
#else
- // TextField in swf5 does not have toString and valueOf methods(to be
checked).
- xcheck_equals(typeof(TextField.prototype.toString), 'undefined' );
- xcheck_equals(typeof(TextField.prototype.valueOf), 'undefined' );
+ // TextField in swf5 does not have a prototype at all !
+ xcheck_equals(typeof(TextField.prototype), 'undefined');
#endif
// For TextFields, this true from swf5~swf8!
@@ -288,6 +287,15 @@
text1 = new TextField();
check(typeof(text1) == "object");
+#if OUTPUT_VERSION > 5
+ check_equals(typeof(text1.toString), "function");
+ check_equals(typeof(text1.__proto__.toString), "function");
+#else
+ xcheck_equals(typeof(text1.toString), "undefined");
+ check_equals(typeof(text1.__proto__), 'object');
+ xcheck_equals(typeof(text1.__proto__.toString), "undefined");
+#endif
+
x = text1.toString();
y = text1.valueOf();
#if OUTPUT_VERSION > 5