[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Numb...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Numb... |
Date: |
Wed, 02 Apr 2008 09:54:50 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/04/02 09:54:50
Modified files:
. : ChangeLog
testsuite/actionscript.all: Number.as
Log message:
more tests on Number.prototype (weird results)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6159&r2=1.6160
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.51&r2=1.52
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6159
retrieving revision 1.6160
diff -u -b -r1.6159 -r1.6160
--- ChangeLog 2 Apr 2008 09:39:58 -0000 1.6159
+++ ChangeLog 2 Apr 2008 09:54:49 -0000 1.6160
@@ -1,5 +1,7 @@
2008-04-01 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/Number.as: more tests on Number.prototype
+ (weird results)
* server/asobj/Number.as (toString_method): Number.prototype.toString
is supposed to work _only_ for the number object.
* testsuite/actionscript.all/Boolean.as: !"true" succeeds.
Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- testsuite/actionscript.all/Number.as 2 Apr 2008 08:05:05 -0000
1.51
+++ testsuite/actionscript.all/Number.as 2 Apr 2008 09:54:50 -0000
1.52
@@ -28,7 +28,7 @@
//
-rcsid="$Id: Number.as,v 1.51 2008/04/02 08:05:05 zoulunkai Exp $";
+rcsid="$Id: Number.as,v 1.52 2008/04/02 09:54:50 strk Exp $";
#include "check.as"
Number.hasOwnProperty = ASnative(101, 5);
@@ -327,6 +327,12 @@
check_equals(typeof(Number.prototype), 'object');
#if OUTPUT_VERSION == 5
xcheck_equals(Number.prototype, Object);
+ xcheck_equals(Number.prototype, Function);
+ xcheck_equals(Number.prototype, Object.__proto__);
+ xcheck_equals(Number.prototype, null);
+ xcheck_equals(Number.prototype, undefined);
+ check(Number.prototype != 0);
+ check(Number.prototype != "string");
#else
check(Number.prototype != Object);
#endif
@@ -569,7 +575,7 @@
// END OF TEST
#if OUTPUT_VERSION < 6
- check_totals(207);
+ check_totals(213);
#else
#if OUTPUT_VERSION < 7
check_totals(206);