[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, 26 Feb 2007 20:11:22 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/26 20:11:22
Modified files:
. : ChangeLog
testsuite/actionscript.all: Inheritance.as
Log message:
* testsuite/actionscript.all/Inheritance.as:
a couple of additional tests for accessing
a function's prototype after a call to
'extends'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2475&r2=1.2476
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.24&r2=1.25
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2475
retrieving revision 1.2476
diff -u -b -r1.2475 -r1.2476
--- ChangeLog 26 Feb 2007 16:26:40 -0000 1.2475
+++ ChangeLog 26 Feb 2007 20:11:22 -0000 1.2476
@@ -1,5 +1,9 @@
2007-02-26 Sandro Santilli <address@hidden>
+ * testsuite/actionscript.all/Inheritance.as:
+ a couple of additional tests for accessing
+ a function's prototype after a call to
+ 'extends'.
* testsuite/misc-ming.all/RollOverOutTest.c: don't
use Ming-specific 'gotoFrame' ActionScript syntax.
* testsuite/misc-ming.all/gotoFrame2Test.as: don't
Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/Inheritance.as 7 Feb 2007 10:28:40 -0000
1.24
+++ testsuite/actionscript.all/Inheritance.as 26 Feb 2007 20:11:22 -0000
1.25
@@ -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.24 2007/02/07 10:28:40 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.25 2007/02/26 20:11:22 strk Exp $";
#include "check.as"
@@ -218,6 +218,8 @@
check_equals(obj.var2, "var_in_Derived_prototype");
function MyClass() {}
+var proto = MyClass.prototype;
+MyClass.prototype.oldMember = "overridden";
asm {
push "MyClass"
getvariable
@@ -230,6 +232,8 @@
check_equals(MyClass.prototype.constructor, MovieClip);
check_equals(myInstance.__proto__, MyClass.prototype);
check_equals(typeof(MovieClip.prototype._x), 'undefined');
+check_equals(typeof(myInstance.oldMember), 'undefined');
+check_equals(proto.oldMember, 'overridden');
#endif // MING_SUPPORTS_ASM_EXTENDS