[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe... |
Date: |
Fri, 02 Feb 2007 10:38:13 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/02 10:38:13
Modified files:
. : ChangeLog
testsuite/actionscript.all: Inheritance.as
Log message:
* testsuite/actionscript.all/Inheritance.as: don't expect
failures with Date object.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2230&r2=1.2231
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.21&r2=1.22
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2230
retrieving revision 1.2231
diff -u -b -r1.2230 -r1.2231
--- ChangeLog 2 Feb 2007 10:31:32 -0000 1.2230
+++ ChangeLog 2 Feb 2007 10:38:13 -0000 1.2231
@@ -1,5 +1,7 @@
2007-02-02 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/Inheritance.as: don't expect
+ failures with Date object.
* server/asobj/: Date.{cpp,h}, Global.cpp:
Ported Date object to new layout; make Date.UTC a not-exported
class-static
Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/actionscript.all/Inheritance.as 23 Jan 2007 22:44:32 -0000
1.21
+++ testsuite/actionscript.all/Inheritance.as 2 Feb 2007 10:38:13 -0000
1.22
@@ -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: Inheritance.as,v 1.21 2007/01/23 22:44:32 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.22 2007/02/02 10:38:13 strk Exp $";
#include "check.as"
@@ -45,6 +45,10 @@
#if OUTPUT_VERSION > 5
check_equals(typeof(functionObject), 'object');
#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 ?
xcheck_equals(typeof(functionObject), 'undefined');
#endif
@@ -230,7 +234,7 @@
//------------------------------------------------
function Test() {}
-xcheck_equals(typeof(Date.prototype), 'object');
+check_equals(typeof(Date.prototype), 'object');
Test.prototype = new Date();
var t = new Test;
check_equals(typeof(t.getYear), 'function');
@@ -240,8 +244,8 @@
var t2 = new Object;
t2.__proto__ = Date.prototype;
-xcheck_equals(typeof(t2.getYear), 'function');
-xcheck_equals(typeof(t2.setYear), 'function');
+check_equals(typeof(t2.getYear), 'function');
+check_equals(typeof(t2.setYear), 'function');
t2.setYear(2007);
check_equals(typeof(t2.getYear()), 'undefined');
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe...,
Sandro Santilli <=