[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Obje...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Obje... |
Date: |
Fri, 31 Aug 2007 18:10:54 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/08/31 18:10:54
Modified files:
. : ChangeLog
testsuite/actionscript.all: Object.as
Log message:
* testsuite/actionscript.all/Object.as: add test for
Object.prototype.__proto__ expected to be undefined (bad bug
in Gnash!).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4176&r2=1.4177
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Object.as?cvsroot=gnash&r1=1.28&r2=1.29
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4176
retrieving revision 1.4177
diff -u -b -r1.4176 -r1.4177
--- ChangeLog 31 Aug 2007 17:07:35 -0000 1.4176
+++ ChangeLog 31 Aug 2007 18:10:53 -0000 1.4177
@@ -1,5 +1,8 @@
2007-08-31 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/Object.as: add test for
+ Object.prototype.__proto__ expected to be undefined (bad bug
+ in Gnash!).
* server/array.cpp (array_length): handle attempts to set a negative
length as if length=0 was set, and log an AS error.
Still not correct, but saves a memory fill with swfdec testsuite.
Index: testsuite/actionscript.all/Object.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Object.as,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- testsuite/actionscript.all/Object.as 16 Aug 2007 06:09:14 -0000
1.28
+++ testsuite/actionscript.all/Object.as 31 Aug 2007 18:10:54 -0000
1.29
@@ -20,13 +20,20 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Object.as,v 1.28 2007/08/16 06:09:14 zoulunkai Exp $";
+rcsid="$Id: Object.as,v 1.29 2007/08/31 18:10:54 strk Exp $";
#include "check.as"
// Test existance of methods
check_equals(typeof(Object), 'function');
check_equals(typeof(Object.prototype), 'object');
+
+// The bug below (no end in the inheritance chain) triggers endless
+// recursions during run of the trace_properties() function defined
+// in trace_properties.as from swfdec testsuite.
+// WE WANT THIS FIXED !!
+xcheck_equals(typeof(Object.prototype.__proto__), 'undefined');
+
// registerClass is a public static function of Object
check_equals(typeof(Object.registerClass), 'function');
check_equals(typeof(Object.prototype.toString), 'function');