[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: |
Mon, 22 Jan 2007 21:00:21 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/01/22 21:00:21
Modified files:
. : ChangeLog
testsuite/actionscript.all: Inheritance.as MovieClip.as
Log message:
* testsuite/actionscript.all/: Inheritance.as, MovieClip.as:
expect
failures on 'any instanceOf Object' after fix to
'as_object::instanceOf'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2149&r2=1.2150
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.26&r2=1.27
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2149
retrieving revision 1.2150
diff -u -b -r1.2149 -r1.2150
--- ChangeLog 22 Jan 2007 20:57:04 -0000 1.2149
+++ ChangeLog 22 Jan 2007 21:00:21 -0000 1.2150
@@ -1,5 +1,8 @@
2007-01-22 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/: Inheritance.as, MovieClip.as: expect
+ failures on 'any instanceOf Object' after fix to
+ 'as_object::instanceOf'.
* server/as_object.h: add const version of get_prototype.
* server/as_function.cpp (getPrototype): use get_member to access
the prototype, in case it was set by ActionScript.
Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- testsuite/actionscript.all/Inheritance.as 22 Jan 2007 16:15:32 -0000
1.16
+++ testsuite/actionscript.all/Inheritance.as 22 Jan 2007 21:00:21 -0000
1.17
@@ -20,10 +20,13 @@
// 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.16 2007/01/22 16:15:32 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.17 2007/01/22 21:00:21 strk Exp $";
#include "check.as"
+check_equals(typeof(Object.prototype.constructor), 'function');
+check_equals(Object.prototype.constructor, Object);
+
// Function.apply is Function.__proto__.apply
#if OUTPUT_VERSION > 5
check (typeof(Function.apply) != undefined);
@@ -69,10 +72,10 @@
// Make 'userFunc' be a function (should inherit Function things)
var userFunc = function() {};
-check (userFunc.__proto__ == Function.prototype);
-check (userFunc.prototype.constructor == userFunc);
-check (userFunc.prototype.apply == undefined);
-check (userFunc.apply == Function.prototype.apply);
+check_equals (userFunc.__proto__, Function.prototype);
+check_equals (userFunc.prototype.constructor, userFunc);
+check_equals (userFunc.prototype.apply, undefined);
+check_equals (userFunc.apply, Function.prototype.apply);
// Override the inherited apply() method
#if OUTPUT_VERSION > 5
@@ -119,7 +122,7 @@
// Test the instanceOf operator
check(subInstance instanceOf SubClass);
check(subInstance instanceOf SuperClass);
-check(subInstance instanceOf Object);
+xcheck(subInstance instanceOf Object);
//------------------------------------------------
@@ -162,16 +165,16 @@
check_equals(sobj1.__proto__.constructor, SubObj1);
#if OUTPUT_VERSION > 5
check(SubObj1 instanceOf Function);
-check(Function instanceOf Object);
-check(SubObj1 instanceOf Object);
+xcheck(Function instanceOf Object);
+xcheck(SubObj1 instanceOf Object);
#endif
// inheritance chain is NOT subobj1,SubObj1,Function,Object, as the
// above might suggest...
-xcheck(!sobj1 instanceOf Function);
+check(!sobj1 instanceOf Function);
// but still, sobj1 is an instance of Object *and* SubObj1
-check(sobj1 instanceOf Object);
+xcheck(sobj1 instanceOf Object);
check(sobj1 instanceOf SubObj1);
check(SubObj1.prototype != undefined);
Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- testsuite/actionscript.all/MovieClip.as 6 Jan 2007 00:23:31 -0000
1.26
+++ testsuite/actionscript.all/MovieClip.as 22 Jan 2007 21:00:21 -0000
1.27
@@ -22,7 +22,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.26 2007/01/06 00:23:31 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.27 2007/01/22 21:00:21 strk Exp $";
#include "check.as"
@@ -272,5 +272,5 @@
var cl = new MovieClip();
check_equals(cl.__proto__.constructor, MovieClip);
check(cl instanceOf MovieClip);
-check(cl instanceOf Object);
+xcheck(cl instanceOf Object);
check_equals(typeof(cl), "object");
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/02
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/08
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/22
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe...,
Sandro Santilli <=
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/23
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/23
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe..., Sandro Santilli, 2007/01/23